Here is my code:
set cnConnection = CreateObject("ADODB.Connection"
cnConnection.Mode = 3
cnConnection.open "project"
set rsCust = CreateObject("ADODB.Recordset"
rsCust.ActiveConnection = cnConnection
rsCust.CursorType = adOpenKeyset
rsCust.Source = "customer"
rsCust.open
rsCust.AddNew
I created an ODBC profile for the connection project when I try to execute this, i get this error: ADODB.REcordset: Unknown runtime error. It happens at the .addnew part, any suggestions?
set cnConnection = CreateObject("ADODB.Connection"
cnConnection.Mode = 3
cnConnection.open "project"
set rsCust = CreateObject("ADODB.Recordset"
rsCust.ActiveConnection = cnConnection
rsCust.CursorType = adOpenKeyset
rsCust.Source = "customer"
rsCust.open
rsCust.AddNew
I created an ODBC profile for the connection project when I try to execute this, i get this error: ADODB.REcordset: Unknown runtime error. It happens at the .addnew part, any suggestions?