Stephanie T.
Registered User.
- Local time
- Yesterday, 21:57
- Joined
- Jun 20, 2002
- Messages
- 60
I am having a strange problem I cannot figure out. I have a main form for sales orders, with a subform where the products sold is entered. On the subform, there is a combo box for the products. I have created a one-to-many relationship (with enforced referential integrity checked) between the sales order detail table and the products table, this is what drives the combo box. However, when I pick a product on the subform, this message comes up:
You can’t add or change a record because a related record is required in table “tblProducts”
This doesn’t make any sense to me, since I am choosing a product name from the combo box that is driven by the Products table.
This seems to be a common problem for me when I set up enforced referential integrity, does anyone know what is causing this? I’m using Access 97.
Thank you,
Stephanie
You can’t add or change a record because a related record is required in table “tblProducts”
This doesn’t make any sense to me, since I am choosing a product name from the combo box that is driven by the Products table.
This seems to be a common problem for me when I set up enforced referential integrity, does anyone know what is causing this? I’m using Access 97.
Thank you,
Stephanie