Ok, I have 3 tables, one with a customer ID(PK) number and info about the customer(custom er table). Another table with an order number(PK), with payment info and such, bieng linked by the customer id(FK),(orderin fo table). And a final table with the order number and the description/items that make up the order(order table). I did it this way so i can have more that 1 item per order number.
Heres kinda what it looks like:
I have a form to enter the customer info, and order info, and a subform that handles the order stuff. But I cant make a new order. Everything works, as far as displaying current orders, and I can make new orders if I go into datasheet view of the tables.
Its like the order number(auto number) isnt making a new number.
Any ideas about how to get this working would be greatly appreciated.
Heres kinda what it looks like:
Code:
Customer table Order Info table Order table |Customer ID*|-------------|Customer ID | /--|Order Number| |Name | |Order Number* |---/ |Item | |Phone | |Payment Method | |Quantity | |etc... | |ect... | |etc... | where both *'s are primary keys, and auto numbers
Its like the order number(auto number) isnt making a new number.
Any ideas about how to get this working would be greatly appreciated.
Comment