• Finding multiply matches for a record (Visual Basic 6.0)

    Home » Forums » AskWoody support » Productivity software by function » Visual Basic for Applications » Finding multiply matches for a record (Visual Basic 6.0)

    Author
    Topic
    #1771137

    I have a function that searches a recordset and then displays it. But I am having a problem of I want a message box to come up with the search finds multiply records that match. And then be able to have user push a button to view the next record.

    Viewing 0 reply threads
    Author
    Replies
    • #1790034

      You could use the Filter property of the recordset to get the records matching the search criteria; the filtered recordset’s RecordCount property will then give the number of records meeting the criteria. You can use the usual navigation methods, like MoveNext, to let the users move thru the filtered records. When you want to look at the unfiltered original recordset again, just set the Filter property to adFilterNone.

    Viewing 0 reply threads
    Reply To: Finding multiply matches for a record (Visual Basic 6.0)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: