Kiwi-Wombat
Registered User.
- Local time
- Today, 11:34
- Joined
- Aug 2, 2004
- Messages
- 56
Microsoft Jet database engine cannot find a record ....
Hi all
I hope I can describe my problem becasue the database is too large to upload
I have a database with two tables linked on one field.
The data source for the associated form is a query on both fields with an Inner Join. The field from the main table is a lookup combo box from the related table and used for data entry. The other is a text box from the related table and is used for viewing.
The fields are never visible at the same time.
If you fail to enter anything in the lookup combo (in this case assume that is an allowable option) and try to save the record, you get an error message as in the title of this thread.
I have worked out that it is because the Field ID is 0 if not entered and there isn't a 0 record in the related table. I guess I could create a blank record in the related table and make the default value for Field ID in the main database as 1, but is there any neater way of doing it?
Hi all
I hope I can describe my problem becasue the database is too large to upload
I have a database with two tables linked on one field.
The data source for the associated form is a query on both fields with an Inner Join. The field from the main table is a lookup combo box from the related table and used for data entry. The other is a text box from the related table and is used for viewing.
The fields are never visible at the same time.
If you fail to enter anything in the lookup combo (in this case assume that is an allowable option) and try to save the record, you get an error message as in the title of this thread.
I have worked out that it is because the Field ID is 0 if not entered and there isn't a 0 record in the related table. I guess I could create a blank record in the related table and make the default value for Field ID in the main database as 1, but is there any neater way of doing it?
Last edited: