Results 1 to 3 of 3

Thread: recordset.find problem!!

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2000
    Posts
    343

    Question

    Hi,

    I am connecting to a MS Access database and have a click event to find records.

    Private Sub cmdQteMainBrowse_Click()

    Dim strFind As String

    strFind = "surname like '" & txtClientSurname & "*' "
    rsRecord.Find strFind
    'bind all fields on form
    bind_fields

    End sub

    This works 100% the first time I click find, but as soon as I type in a new surname and click find I get this error...

    Provider called a method from IRowSetNotify in the consumer and the method has not yet returned.

    Any suggestions?? I presume it has something to do with me not closing/canceling the recordset!!

    Thanks.

  2. #2
    Junior Member
    Join Date
    Jul 2000
    Location
    Mexico
    Posts
    24

    Smile

    Do you have the recordset cursor on the client or the server?

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2000
    Posts
    343
    chicho_chicho,

    On the Server!!

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