Access 2000.
Hi All,
I have 2 tables "Excel and "tImportTemp". I know it's not a great idea to name a table "Excel", but, this is what I am stuck with. Each table has the same fields including a field "OnlineID".
I want to insert everything from tImportTemp into Excel Where OnlineID fields are not =.
Here is my statement:
DoCmd.RunSQL "INSERT INTO Excel SELECT tImportTemp.* FROM tImportTemp WHERE tImportTemp![OnlineID]<>[Excel]![OnlineID]"
When I run this Access complains with Enter Parameter Value Excel!OnlineID.
Any help please?
Thanks
Detrie
Hi All,
I have 2 tables "Excel and "tImportTemp". I know it's not a great idea to name a table "Excel", but, this is what I am stuck with. Each table has the same fields including a field "OnlineID".
I want to insert everything from tImportTemp into Excel Where OnlineID fields are not =.
Here is my statement:
DoCmd.RunSQL "INSERT INTO Excel SELECT tImportTemp.* FROM tImportTemp WHERE tImportTemp![OnlineID]<>[Excel]![OnlineID]"
When I run this Access complains with Enter Parameter Value Excel!OnlineID.
Any help please?
Thanks
Detrie