FastLearnerIThink
Technical User
Hello, newbie here. First, would like to say that this forum is very useful and just by visiting as a guest, I have improved my knowledge of programming in Access greatly. Thank you all for sharing the knowledge.
I am developing an inventory type database. I have a form with a subform for receiving property. Main form, depicting user name and date of report, etc. works fine and I have managed to make everything in the main form work just the way I want it successfully using strictly VBA for the most part.
All table relationships seem to be accurate. But for some reason when I make an entry into the subform and try to move to next subform record prior to filling all the fields (testing purposes), I get the following error if certain specific fields are left null.
"You cannot add or change a record because a related record is required in table TblName."
Searched on Google and only thing I find is that the table of the field (lookup field) is indexed. I have tried removing the indexes but still same result.
Any help in resolving these annoying messages will be appreciated. Thanks!
I am developing an inventory type database. I have a form with a subform for receiving property. Main form, depicting user name and date of report, etc. works fine and I have managed to make everything in the main form work just the way I want it successfully using strictly VBA for the most part.
All table relationships seem to be accurate. But for some reason when I make an entry into the subform and try to move to next subform record prior to filling all the fields (testing purposes), I get the following error if certain specific fields are left null.
"You cannot add or change a record because a related record is required in table TblName."
Searched on Google and only thing I find is that the table of the field (lookup field) is indexed. I have tried removing the indexes but still same result.
Any help in resolving these annoying messages will be appreciated. Thanks!