phiberdelic
Technical User
In a nutshell I have 1 table inside Access (AccessTable), and one table inside SQL server (SQLTable). I am connected to the SQL DB via ODBC connection and I want to pull the matching data from the SQL table into my Access table, but I get a syntax error. When I create "AccessTable" on the SQL DB this statement runs fine (very slow but fine). If I connect to the SQLTable using Get Link Table, this statement works fine...however I can't edit linked tables. Please Help!!!
"INSERT INTO AccessTable SELECT Vendor, ProductID FROM SQLTable WHERE SQLTable.Vendor='03'"
"INSERT INTO AccessTable SELECT Vendor, ProductID FROM SQLTable WHERE SQLTable.Vendor='03'"