|
-
Apr 8th, 2003, 08:34 PM
#1
Thread Starter
Member
Real Disconnected Recordset
I am experienced that Disconected Recordset is not really disconnected. What I expected when using Disconnected
Recordset is really get disconnected from the Server.
I use Data Bound Control like dbGrid tobe bound with this
recordset, and do a little update to the record. I do expect
that this not affected the server but it did.
I think I miss understood the role of Disconnected recordset.
Is there any way to get it work ?
Please Help.
Thanks.
-
Apr 9th, 2003, 02:04 AM
#2
Frenzied Member
Depends.
How do you fill your recordset, and how are you disconnecting ?
Code:
If Question = Incomplete Then
AnswerNextOne
Else
ReplyIfKnown
End If
cu Swatty
-
Apr 9th, 2003, 04:57 AM
#3
Thread Starter
Member
Originally posted by swatty
Depends.
How do you fill your recordset, and how are you disconnecting ?
VB Code:
' Connecting, cn is adodb.connection object
set rs.activeconnection = cn
' Disconnecting
set rs.activeconnection = nothing
-
Apr 9th, 2003, 05:03 AM
#4
Frenzied Member
Originally posted by xor_ax_ax
VB Code:
' Connecting, cn is adodb.connection object
set rs.activeconnection = cn
' Disconnecting
set rs.activeconnection = nothing
It should work if you're disconnecting like you do.
You cannot reconnect though with this recordset or the changes will be reflected.
Code:
If Question = Incomplete Then
AnswerNextOne
Else
ReplyIfKnown
End If
cu Swatty
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|