I have a Query that combines the columns that I need to access in a form from 2 different tables; one is local to the system and I can change any value in it, the other table comes from an online database and only has read privileges. When I make the query I can't edit any of the columns that come from the table that I have write privileges to. Is there a way that I can edit just these values? I don't need to change the read only table.
Thanks,
Tim
Hi Tim,
There's a couple of approaches to take here. You'll have to choose which works best for you.
Separate your form into a form/subform...or main form and 2 subforms. Since we haven't been told how the records interlace, you may be able to arrange the fields so that they can sit side by side, then you can update one subform...and just create a dynamic link to the read only one so that the records still coincide.
Another option is to use DLookup and VBA to populate the Read Only fields, and set them to Locked on your form. The current record ID is used I assume to link your tables, so it would be used as the key to looking up the REad Only Data.
The other option is to create a "temp" table from the linked table so that it's local to your database. Not sure how often you might want to refresh it..maybe when the form opens? However, it can be cleared out once the form closes.
Let us know what you think...and we'll help you further.
J