Results 1 to 11 of 11

Thread: recordset.seek problem

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2005
    Posts
    14

    recordset.seek problem

    Private Sub Command2_Click()
    prompt$ = "enter name"
    searchstr$ = InputBox(prompt$, "seraching")
    datcontainer.Recordset.Index = "Konteyner"
    datcontainer.Recordset.Seek "=", searchstr$
    If datcontainer.Recordset.NoMatch Then
    MsgBox "Couldn't find", vbExclamation, "Result"
    datcontainer.Recordset.MoveFirst
    End If
    End Sub

    when i debug this code it shows (visual basic warning) No current records. I just want to use my own message. How can i disable visual basic warnnigs as i mentioned?
    i am getting crazy. i want to disable them. can anyone help me please???
    thanks...
    Last edited by odysseus; Aug 28th, 2005 at 08:09 AM.

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