Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
"Dick Kusleika" wrote ...
The problem is that the Workspace object is falling out of scope In ADO, Recordset is a top level object, so you don't need to preserve the connection. That's right. The Recordset has an ActiveConnection property which retains a reference to the Connection object. If you switch to ADO, you'll have to mess with some of the properties of rs in the function to mirror the dbOpenDynaset that you use now. The 'dynaset' is known to the non-DAO world as a keyset cursor e.g. CursorType=adOpenKeyset in ADO. I think you'll need to change the CursorLocation property, but I'm not sure about that. To use a keyset cursor in ADO, the cursor location must be server side. Jamie. -- |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
call Module from MS Excel Object - Probably very easy VB questions | Excel Discussion (Misc queries) | |||
Recordset or Object is closed HELP PLEASE! | Excel Programming | |||
Recordset Problem - object is closed | Excel Programming | |||
call the object of scanner... | Excel Programming |