nicksource
Registered User.
- Local time
- Today, 19:31
- Joined
- Feb 18, 2008
- Messages
- 69
How would I do this?
I have a table that is like this:
ID | OrderID | ProdID
The ID is unique.
What happens is there could be an order for several different products, like this on the same order:
ID | OrderID | ProdID
1.......001..........24
2.......001..........17
3.......001..........19
4.......002..........12
5.......003..........24
6.......003..........11
When I create a form, it shows all the fields I want to input but then I want about 10 boxes to select products and quantities in, that when you do, it creates a new row in the table, with duplicate data according to the rest of the fields but with the different product selected. At the moment, I can only make it do a single ProdID for a single row.
I hope this makes sense. Any help would be greatly appreciated!
I have a table that is like this:
ID | OrderID | ProdID
The ID is unique.
What happens is there could be an order for several different products, like this on the same order:
ID | OrderID | ProdID
1.......001..........24
2.......001..........17
3.......001..........19
4.......002..........12
5.......003..........24
6.......003..........11
When I create a form, it shows all the fields I want to input but then I want about 10 boxes to select products and quantities in, that when you do, it creates a new row in the table, with duplicate data according to the rest of the fields but with the different product selected. At the moment, I can only make it do a single ProdID for a single row.
I hope this makes sense. Any help would be greatly appreciated!