Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ADO Recordsets

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hello,

I have some troubles with ADO Recordsets.
I have created an ADODB Recordset.
In the next step I make an SQL Query on an Microsoft SQL Server. The data are collected within the recordset.
My problem:

I have more sets of data within the recordset, which have the same ID, but the dates are different.
There exists no FindNext, FindLast .. Method, to jump between the data sets.
I have to put them into a Form. It is lika a navigation menu I have created. With DAO I had no troubles, but would could I do, to jump between the data sets within the recordset?
Is there anyone who could help me?
Is there an other possibility like FindNext,FindLast .. -Methods as they exist in DAO?

Thanks
 
Hi,

the ADO Find method has replaced the FindNext, FindLast etc ... DAO methods.

Try this link :
or this one to use a class that will simulate the findfirst .. actions :

or try to replace it with the seek method :

Seek with option (adSeekFirstEQ, adSeekLastEQ...)

Hope this helps



blygman@hotmail.com

François
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top