Hello,
I have opened a connection with OLEDB for ODBC drivers with DSN name. ODBC DSN is for Informix Database.
In my application I opened a recordset as follows.
cn1.open = "Provider=MSDASQL.1;DSN=Test"
rs1.open "select *from table1",cn1,adOpenKeySet,adLockOptimistic
do while not rs1.eof
mDt = rs1!sd_dt 'date Data type (informix)
mTm = rs1!sd_tm 'DateTime Hour to Minute
rs1.movenext
loop
While I execute above code systemd could managed to transfert the data to 'mDt'. But when it execute 'mTm = rs1!sd_tm' it popup with following error:
Run-Time error -2147217887
Multiple-step OLEDB operation generate errors.
Check each OLEDB status, if available. No work was done.
If I exclude the 'mTm = rs1!sd_tm' it works well.
Appreciate any of your help/advise on this matter.
Regards,
Ahmed
ajewahar@sa.dhl.com
I have opened a connection with OLEDB for ODBC drivers with DSN name. ODBC DSN is for Informix Database.
In my application I opened a recordset as follows.
cn1.open = "Provider=MSDASQL.1;DSN=Test"
rs1.open "select *from table1",cn1,adOpenKeySet,adLockOptimistic
do while not rs1.eof
mDt = rs1!sd_dt 'date Data type (informix)
mTm = rs1!sd_tm 'DateTime Hour to Minute
rs1.movenext
loop
While I execute above code systemd could managed to transfert the data to 'mDt'. But when it execute 'mTm = rs1!sd_tm' it popup with following error:
Run-Time error -2147217887
Multiple-step OLEDB operation generate errors.
Check each OLEDB status, if available. No work was done.
If I exclude the 'mTm = rs1!sd_tm' it works well.
Appreciate any of your help/advise on this matter.
Regards,
Ahmed
ajewahar@sa.dhl.com