
Originally Posted by
Minty
Ah ha - now we have more of the picture. This is a very common data structure, typically an Order and Order lines. In your case a Purchase order and Purchase order lines.
So you have two tables one is your Purchase Order Header, and the other is your PO Line Data
POHeader will contain who the order is placed against , when, perhaps who raised it etc, and contains your PO Number - This can be an Autonumber for simplicity, as long as you don't mind that it might have gaps in the sequence. But it will be unique.
POLineData will have the PO Number as a Foreign Key, and a POLineID as the autonumber.
This line contains your Part No, the qty ordered, and the item and or line price, as well as the two important numbering fields above.
This is just the basics - you might need other fields for your business requirements.