S
SF
Hi,
I get an error meesgae while trying to update an ODBC linked table from the
code below. The error message is error # 3622, you must use the dbSeeChange
with recordset...
Dim Stg As String
Dim db As DAO.Database
Stg = "UPDATE tblContacts SET tblContacts.Co_Province_ID =" &
Me.Co_Province_ID
Stg = Stg & ", tblContacts.Co_DistrictID =" & Me.Co_DistrictID
Stg = Stg & ", tblContacts.Co_CommuneID =" & Me.Co_CommuneID
Stg = Stg & ", tblContacts.Co_VillageID =" & Me.Co_VillageID
Stg = Stg & " WHERE (((tblContacts.Co_ContactID)=" & Me.Co_ContactID & "));"
Set db = CurrentDb
db.Execute Stg, dbFailOnError
SF
I get an error meesgae while trying to update an ODBC linked table from the
code below. The error message is error # 3622, you must use the dbSeeChange
with recordset...
Dim Stg As String
Dim db As DAO.Database
Stg = "UPDATE tblContacts SET tblContacts.Co_Province_ID =" &
Me.Co_Province_ID
Stg = Stg & ", tblContacts.Co_DistrictID =" & Me.Co_DistrictID
Stg = Stg & ", tblContacts.Co_CommuneID =" & Me.Co_CommuneID
Stg = Stg & ", tblContacts.Co_VillageID =" & Me.Co_VillageID
Stg = Stg & " WHERE (((tblContacts.Co_ContactID)=" & Me.Co_ContactID & "));"
Set db = CurrentDb
db.Execute Stg, dbFailOnError
SF