|
-
May 14th, 2006, 01:09 PM
#1
Thread Starter
Hyperactive Member
Moving to Next Record, and updating Data Bound Controls
Hey guys,
have a problem. i am forced to use DataEnvionment so dont suggest otherwise. i know it sux.
anyway i have a few controls which is kind of 'data bound' to a recordset in a data environment.
now i want to do a simple record navigation.
like .movenext, etc.
but when i movenext from the Recordset, the DataBound controls doesnt update with the new data. infact, nothing visibly happens.
any suggestions ?
this is the code im using
Private Sub cmdNext_Click()
If DataEnv.rsLect.State <> adStateClosed Then DataEnv.rsLect.Close
DataEnv.rsLect.Open
DataEnv.rsLect.MoveNext
DataEnv.rsLect.Close
End sub
thanks
Deane.
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
|