I split my database. In the BE I have a table Sourcestab. In the FE I used a make table query to create Sourcestab_fe.
I have a form to add records to Sourcestab (BE).
I also have a search form searching through Sourcestab_fe.
On opening the search form, I want to update Sourcestab_fe (add new records from Sourcestab, delete records that have been deleted from Sourcestab and change modified records in Sourcestab).
I try to use the following SQL on opening the search form:
Trying to run the SQL I get an error message: "Can't update Sourcestab_fe.Id. The field can't be updated".
I've been trying to figure out where it's going wrong, but I'm falling short. Who can help? Thanks in advance.
I have a form to add records to Sourcestab (BE).
I also have a search form searching through Sourcestab_fe.
On opening the search form, I want to update Sourcestab_fe (add new records from Sourcestab, delete records that have been deleted from Sourcestab and change modified records in Sourcestab).
I try to use the following SQL on opening the search form:
Code:
UPDATE Sourcestab_fe RIGHT JOIN Sourcestab ON Sourcestab_fe.Id = Sourcestab.Id
SET Sourcestab_fe.Id = Sourcestab.Id, Sourcestab_fe.NR = [Sourcestab].[NR],
Sourcestab_fe.Author = [Sourcestab].[Author],
Sourcestab_fe.Date = [Sourcestab].[Date], Sourcestab_fe.Title = [Sourcestab].[Title];
Trying to run the SQL I get an error message: "Can't update Sourcestab_fe.Id. The field can't be updated".
I've been trying to figure out where it's going wrong, but I'm falling short. Who can help? Thanks in advance.
Last edited: