The Microsoft database engine cannot find a record...

jerem

Registered User.
Local time
Today, 18:36
Joined
May 1, 2012
Messages
118
Hi,

I am using the Goods sample database from Microsoft. I don't know what I did but I suddenly get the message:

"The Microsoft Access database engine cannot find a record in the table "Customers" with key field(s) "CustomerID".

This only happens when I try to create a new Customer Order. The error message shows when the OrderDetail form opens. If I choose an existing order, the problem doesn't arise.

I have checked many threads on various forums but nothing seems to help.

Thanks in advance for your help!
 
Do you have a MAIN FORM and a SUBFORM ??
 
Yes. Linking field is ID in Orders table and OrderID in OrderDetails table
 
Do you try to enter a record in the SUBFORM before the MAIN FORM ??
What is your RELATIONSHIPS between these two tables ??
 
make sure your sub form does not have the same table in it as the main forms record source and vice versa.
 

Users who are viewing this thread

Back
Top Bottom