|
-
Oct 2nd, 2000, 06:25 AM
#1
Thread Starter
New Member
I've been trying to create code that allows me to move through the selected records using the ADO tool
(Other than using the buttons provided with the ADO tool)
Any idea - please let us know
Thanks
-
Oct 2nd, 2000, 06:32 AM
#2
Lively Member
Is this what you mean?
Data1.RecordSet.MoveNext
D
-
Oct 3rd, 2000, 03:38 AM
#3
Thread Starter
New Member
Thanks
yep - thats exactly what I was wanting - Thanks heaps
-
Oct 4th, 2000, 02:49 AM
#4
Hi there, this code should do to help navigation.
Next Record :
if not recordset.recordcount = 0 then
recordset.movenext
if recordset.eof = true then
recordset.movelast
end if
end if
Previous Record :
if not recordset.recordcount = 0 then
recordset.moveprevious
if recordset.bof = true then
recordset.movefirst
end if
end if
Last Record :
if not recordset.recordcount = 0 then
recordset.movelast
end if
First Record :
if not recordset.recordcount = 0 then
recordset.movefirst
end if
This should do for navigating through any recordset supporting navigation. if you still have problems, you can be more specific about them and feel free to mail me. all the best...vijay
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
|