I am trying to use the IN clause to update a table in another mdb. VBA produces the SQL string, but I get Error 3144 Syntax Error in Update statement.
The table names and field names are the same in both mdbs.
Here is the string:
UPDATE [projectcodes]INNER JOIN [projectcodes]IN C:\Updatetables2.mdb ON [projectcodes].
The table names and field names are the same in both mdbs.
Here is the string:
UPDATE [projectcodes]INNER JOIN [projectcodes]IN C:\Updatetables2.mdb ON [projectcodes].
Code:
= [projectcodes].[Code] IN C:\Updatetables2.mdb SET [projectcodes].[Code] IN C:\Updatetables2.mdb = [projectcodes].[Code], [projectcodes].[Description]IN C:\Updatetables2.mdb = [projectcodes].[Description];
There are more fields in SET clause, but I have abbreviated them.
I have checked Help files and various forums, but cannot find an answer. Maybe its not possible to update a table this way.
TIA
Rich
Bespoke and off-the-shelf Access solutions
[URL unfurl="true"]www.blsoftware.co.uk[/URL]