Forum Moderators: open

Message Too Old, No Replies

Find method in vb .net and adodb

how do you find a record

         

jefferson

3:18 pm on May 6, 2005 (gmt 0)

10+ Year Member



Can't figure out how to move to a record based on some sort of search criteria. Want to keep all records in the recordset, but just move the index to the record that has a primary key of some number.

aspdaddy

8:23 pm on May 7, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I dont know about ado.net but in an ado recordset there is a filter method, you can apply it and then remove it as needed.

TheNige

7:51 pm on May 9, 2005 (gmt 0)

10+ Year Member



Do a search on DataViews. A DataView is a filtered view of a dataset. You can retrieve your dataset from the database and then filter it on any of the columns with stuff like: FirstName=Tom