Write to one table from a form, view associated data from other tables on same form
I remember reading on this forum that if you try to access several tables from the same form then you cannot edit any records from the same form.
This is what I need to do:
Use a form as a data entry form for TableA, as well as to show the user what is already in TableA. All of the data entry controls--text boxes, ect, have their control source property set to TableA.
TableB contains other information associated with records in TableA and they are linked by a unique identifier, let's call it AssetID. For each record in TableA there may be one related record in TableB. I am not trying to write to TableB, but I want to see the information in TableB on the form. There are text boxes on the form to show data from TableB but they are disabled from data entry.
Problem: if I show the data in TableB on the the form via a query the form no longer lets me edit. The only thing seems to work is to do a dLookup, but that really slows down the application.
Any suggestions?
I remember reading on this forum that if you try to access several tables from the same form then you cannot edit any records from the same form.
This is what I need to do:
Use a form as a data entry form for TableA, as well as to show the user what is already in TableA. All of the data entry controls--text boxes, ect, have their control source property set to TableA.
TableB contains other information associated with records in TableA and they are linked by a unique identifier, let's call it AssetID. For each record in TableA there may be one related record in TableB. I am not trying to write to TableB, but I want to see the information in TableB on the form. There are text boxes on the form to show data from TableB but they are disabled from data entry.
Problem: if I show the data in TableB on the the form via a query the form no longer lets me edit. The only thing seems to work is to do a dLookup, but that really slows down the application.
Any suggestions?
Last edited: