Click to See Complete Forum and Search --> : ADO recordset and find


jenny
July 26th, 1999, 02:27 AM
Hi
I´m using a Datalist which recives an ADO recordset. I want to make a kind of serach function with a textbox. I want it to work like for example "the help in VB using Indexsearch". That is when I press key it will automatically scroll to that letter/letters. But when I use recordset.find the criteria must contain "like %" and it means that this command returns a recordset and places the cursor on EOF. How can I move the cursor to the first hit so I can scroll my listbox?
I would be greatful for help.
Jenny

jenny
July 26th, 1999, 03:48 AM
Hi
I found out that that the MSDN online was wrong and that it doesn´t return a recordset... sorry but I was mislead. Now on with an other problem. I want to scroll my datalist down to the first found item. I set the boundtext to the correct place but how may I scroll up/down?

jenny