Hello
I have been trying to get round this problem for weeks now, and just can't do it!
I have a fish database, which records all sorts of details about people's fish that they have in their fish tanks.
Basically, the main form (called "frm Fish enter") holds info like name, tank located in etc. There is then a subform (called "frm Purchases enter"), where the user can enter each purchase they make for that fish.
That subform contains fields for:
Date - called "fDate"
Quantity Purchased - "Quantity"
Shop Purchased From - "ShopID"
and
Price Each - "PriceEach"
My problem is, when you have put a fish name in the main form, you move along to enter a purchase...but, for example, say you know when you bought it, but can't remember where from, you might enter the date, and quantity, but want to leave the shop field.
The problem is, when you try to leave the subform again (like by clicking on the main form, or trying to move records or something), an error pops up telling me that a "related record is required in table "tbl shop", which is where the shop dropdown gets its data from.
I have had a look and there is no sign of anything being a required field in any of the relevant tables.
How can I stop it from doing this...it is remarkably annoying!
Thanks very much....and sorry for the long post!
I have been trying to get round this problem for weeks now, and just can't do it!
I have a fish database, which records all sorts of details about people's fish that they have in their fish tanks.
Basically, the main form (called "frm Fish enter") holds info like name, tank located in etc. There is then a subform (called "frm Purchases enter"), where the user can enter each purchase they make for that fish.
That subform contains fields for:
Date - called "fDate"
Quantity Purchased - "Quantity"
Shop Purchased From - "ShopID"
and
Price Each - "PriceEach"
My problem is, when you have put a fish name in the main form, you move along to enter a purchase...but, for example, say you know when you bought it, but can't remember where from, you might enter the date, and quantity, but want to leave the shop field.
The problem is, when you try to leave the subform again (like by clicking on the main form, or trying to move records or something), an error pops up telling me that a "related record is required in table "tbl shop", which is where the shop dropdown gets its data from.
I have had a look and there is no sign of anything being a required field in any of the relevant tables.
How can I stop it from doing this...it is remarkably annoying!
Thanks very much....and sorry for the long post!