Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On the below code, I get an error on the line .Update. The message says
"[SmartWare ODBC Driver] Parameter can not be used in select list." Anyone have any idea what to do to write a new record to this odbc-compliant table? Dim cn As ADODB.Connection, rs As ADODB.Recordset Set cn = New ADODB.Connection cn.Open "DRIVER=SmartWare Driver (*.db);SERVER=Smart4;DBTYPE=Smart4;DBQ= " & DataSource Set rs = New ADODB.Recordset rs.Open "pr_ckreg", cn, adOpenKeyset, adLockOptimistic, adCmdTable With rs .AddNew ' create a new record .Fields("gross_pay1") = DataArray(X, 18) .Update End With rs.Close Set rs = Nothing cn.Close Set cn = Nothing |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Problem With Reference Update | Excel Worksheet Functions | |||
Excel 2003 - Update or Don't Update Links Problem | Excel Programming | |||
update links - problem | Excel Discussion (Misc queries) | |||
Update Links - Problem | Links and Linking in Excel | |||
SolverOK Problem after SP-3 Update | Excel Programming |