CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: Use of Find

  1. #1
    Join Date
    Oct 2000
    Posts
    10

    Use of Find

    Hi All;
    Could anyone tell me how to use the find method of ADO by using more than one parameter? Note without using SQL. Something like

    rsFind.Find...........................

    Thanx in advance


  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: Use of Find

    MSDN says:
    "Only a single-column name may be specified in criteria. This method does not support multi-column searches."


  3. #3
    Join Date
    Oct 2000
    Posts
    10

    Re: Use of Find

    Hi Lothar

    Could you please tell me another way. b/c I want to search according to more than two strings and then it jumps in the grid to show the selected record that macthes the search criteria.

    Thanx



  4. #4
    Join Date
    Sep 1999
    Location
    Leeds U.K. (Proud to be Sheffield Born)
    Posts
    202

    Re: Use of Find

    You could use the Filter method, using similar syntax to the Find. This supports multi-columnar criteria.

    Colon-Hyphen-Close-Bracket

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