General information
Category:
COM/DCOM and OLE Automation
>*******************
>So you want to write your changes to the database? With the approach you're taking (sending the whole recordset) you would send a disconnected rs from the client (that has been obtained from the server specifically for batch updates) and when it gets to your server COM object, you reconnect (create an ADO connection object, fill connection parameters and .Open, then set the .Activeconnection property to the opened connection object) and execute the .UpdateBatch method of the ADO recordset
>****
>I do this exactly. The problem is creating an ADO connection object. The code o(a portion) of wraper class of ADODB.Connection runing IN CLASS SERVER is executed IN FORM CLIENT !!!!(i can see this in debugger...)
So the code works but you don't want to see it in the debugger? Anytime you instanciate a COM object you see the object variable in the debugger, if that's what you mean.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only