Here is what I am trying to accomplish
I have a table with information that was imported from another program.
The table has a quantity field and a price field.
Example quantity is 3 and price $15.00. I need to end up with 3 records that has a quantity of 1 and at price of $5.00
In other words I need to use the quantity field to tell the program how many records to make where the quantity would be 1 and the price would be divided by the quantity
3 records, where quantity is 1 and price is $5.00
What would be the best way to approach the problem I thought maybe a record set and put the new rows in a temp table, but really not sure what is the best way to go
Thanks
I have a table with information that was imported from another program.
The table has a quantity field and a price field.
Example quantity is 3 and price $15.00. I need to end up with 3 records that has a quantity of 1 and at price of $5.00
In other words I need to use the quantity field to tell the program how many records to make where the quantity would be 1 and the price would be divided by the quantity
3 records, where quantity is 1 and price is $5.00
What would be the best way to approach the problem I thought maybe a record set and put the new rows in a temp table, but really not sure what is the best way to go
Thanks