I have a data entry form for course creation that contains a few comboboxes (row sources are from respective tables and the control source is the respective foreign key ID in the main table (tblClass)).
If an end user wants to begin data entry for a particular course, but doesn't have the information on the location of the class (cboLocation) and, of course, doesn't have facility or room info (cboFacility, cboRoom), they have an option to save the record for later changes/updates.
When they do this (by clicking on a command button) an error pops up stating "You cannot add or change a record because a related record is required in table 'Facilities'" (for example).
Is there a way to set the properties or write some code so that the end user doesn't get this error?
If an end user wants to begin data entry for a particular course, but doesn't have the information on the location of the class (cboLocation) and, of course, doesn't have facility or room info (cboFacility, cboRoom), they have an option to save the record for later changes/updates.
When they do this (by clicking on a command button) an error pops up stating "You cannot add or change a record because a related record is required in table 'Facilities'" (for example).
Is there a way to set the properties or write some code so that the end user doesn't get this error?