Why am I getting related record required errors for optional FKs

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a table with several foreign keys that are not required, but whenever
I attempt to add a record without the FKs set I get the error message "You
cannot add or change a record because a related record is required in table
'tblFoo'." When the FK for tblFoo is the optional FK parameter.
 
Open the table in design view.

Select the FK field.

In the lower pane, remove the zero default value.

(MS has solved this in Access 2007: numeric fields don't default to zero
automatically.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top