G
Guest
Hi,
I am using below Passthrough query which is workig for SQL:
Set qdf = db.CreateQueryDef("")
qdf.ReturnsRecords = False
qdf.Connect = "ODBC;DRIVER={sql
server};DATABASE=CadcMasterDataBase;SERVER=EL042343;Trusted_Connection=Yes;"
sqltxt = "insert into history.historylog select * from SQLaa"
qdf.SQL = sqltxt
qdf.Execute 'error message "ODBC – call failed. (Error 3146)", "
Question:
In below line I need to use Local access table and wants to update SQL table
from Access table
AA= Access Table
history.historylog = SQL Table
sqltxt = "insert into history.historylog select * from Accessaa"
Which string should I use?
Thanks
AA
I am using below Passthrough query which is workig for SQL:
Set qdf = db.CreateQueryDef("")
qdf.ReturnsRecords = False
qdf.Connect = "ODBC;DRIVER={sql
server};DATABASE=CadcMasterDataBase;SERVER=EL042343;Trusted_Connection=Yes;"
sqltxt = "insert into history.historylog select * from SQLaa"
qdf.SQL = sqltxt
qdf.Execute 'error message "ODBC – call failed. (Error 3146)", "
Question:
In below line I need to use Local access table and wants to update SQL table
from Access table
AA= Access Table
history.historylog = SQL Table
sqltxt = "insert into history.historylog select * from Accessaa"
Which string should I use?
Thanks
AA