Can anyone help???

E

Enigo

Hi

I have two table (tblCustomerDetails & tblDebtors). On a form I created I
have a combo-box that is based on the tblCustomerDetails where it populates
the fields, Customer Number & Name. When I go to save a new record, i get the
following error:

You cannot add or change a record as a related field is required for
tblCustomerDetails.
The relationship is one(tblCustomerDetails.CustomerNumber) to
many(tblDebtors.CustomerNumber)

Please if anyone knows how I might fix this it would be greatly appreciated.
 
J

Jerry Whittle

The best way to handle this is with a form for tblCustomerDetails and placing
a subform on it based on tblDebtors.

If your relationship is formalized in the Relationship Window with
referintal integrity enabled, the Form Wizard or SubForm Wizard should walk
you through the process plus keep the tables properly joined.
 
E

Enigo

Thanks Jerry. This method works.

Jerry Whittle said:
The best way to handle this is with a form for tblCustomerDetails and placing
a subform on it based on tblDebtors.

If your relationship is formalized in the Relationship Window with
referintal integrity enabled, the Form Wizard or SubForm Wizard should walk
you through the process plus keep the tables properly joined.
 

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

Top