CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 1999
    Posts
    9

    ADO recordset and find

    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


  2. #2
    Join Date
    Jul 1999
    Posts
    9

    Re: ADO recordset and find

    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


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured