Results 1 to 2 of 2

Thread: Find Record

  1. #1
    Join Date
    Nov 2004
    Posts
    3

    Unanswered: Find Record

    Hello

    I have been all over the net trying to find a way to find a record in VB6. I am using a Data button linked to an Acces db. I want to click a button and find a record that matches a value in a text box. I'm referencing ADO. I've tried hundreds of different ways but I keep getting errors like 'Object required' or 'Object doesn't support this method.' Please help. I don't want to lose my mind over something that should be so simple.

    Any acknowledgement at all to my situation would be extremely appreciated.

    Thanks

    Jeremy

  2. #2
    Join Date
    Nov 2004
    Posts
    108
    rec.find "fieldName = '" & txtControl & "'"

    should work but your error sound as if you are missing a Dim
    to err is human ; to really mess things up requires a computer

Posting Permissions

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