S
stabilo
I have a db with a lnked tbale coming from a SQL Server. The following code
lead to an error on the update line :
[...]
Set db = CurrentDb
Set rstmessage = db.OpenRecordset("mytable", dbOpenDynaset)
rstmessage.AddNew
rstmessage("Filed1")= "value1"
rstmessage("Filed2")= "value2"
rstmessage.Update ' Fails here
[...]
Error is : Run Time error 3146 - ODBC Call Failed.
The above code worked perfectly whne the table was local to the DB. Any idea
?
lead to an error on the update line :
[...]
Set db = CurrentDb
Set rstmessage = db.OpenRecordset("mytable", dbOpenDynaset)
rstmessage.AddNew
rstmessage("Filed1")= "value1"
rstmessage("Filed2")= "value2"
rstmessage.Update ' Fails here
[...]
Error is : Run Time error 3146 - ODBC Call Failed.
The above code worked perfectly whne the table was local to the DB. Any idea
?