Mr. Vinson,
Thank you for yoru reply, unfortunately I believe I might not have
accurately depicted what I need. I actually need to updated a table in
another database.... Here is the statement that I have:
UPDATE Table1 In "C:\db1.mdb"
INNER JOIN Table1 AS Table1_1 ON Table1.Req = Table1_1.Req
SET Table1.Field2 = [Table1_1].[Field1], Table1.Field3 = [Table1_1].[Field2]
WHERE (((Table1.field4)=True));
But when I run this I get a syntax error and it points to 'INNER JOIN'. Is
there a way to do this?
Yes. The way I suggested: using File... Get External Data... Link to
link to the remote table rather than using the IN clause.
I think your IN syntax can be made to work though: try running it from
db1.mdb, to update the local table instead of the remote table.
UPDATE Table1
INNER JOIN Table1 In "C:\db2.mdb" AS Table1_1
ON Table1.Req = Table1_1.Req
SET Table1.Field2 = [Table1_1].[Field1], Table1.Field3 =
[Table1_1].[Field2]
WHERE (((Table1.field4)=True));
John W. Vinson[MVP]
Join the online Access Chats
Tuesday 11am EDT - Thursday 3:30pm EDT
http://community.compuserve.com/msdevapps