Link to home
Start Free TrialLog in
Avatar of Rev032400
Rev032400

asked on

Help on ADO.RS.FIND

How do I do a search on the recordset from a value inputed in a text box??
below is my example,  the way it is, it searchs for text17.text as the sitename.

please help

With Adodc3.Recordset
  .Find "SITE_NAME = 'TEXT17.text'"
   If Not .EOF Then
    'Record was found
    X = MsgBox("Applications Have ready been scheduled", vbOKOnly)
    Exit Sub
  Else
    'Record not found
  End If
End With




Avatar of AzraSound
AzraSound
Flag of United States of America image

Find "SITE_NAME = Text17.Text"
ASKER CERTIFIED SOLUTION
Avatar of Ruchi
Ruchi

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Sage020999
Sage020999

With Adodc3.Recordset
  .Find "SITE_NAME = '" & TEXT17.text & "'"
   If Not .EOF Then
    'Record was found
    X = MsgBox("Applications Have ready been scheduled", vbOKOnly)
    Exit Sub
  Else
    'Record not found
  End If
End With
sorry about that post.  my friend in the computer lab thought he'd play around on my comp til i got back.  hes not a vb programmer (obviously)
Avatar of Rev032400

ASKER

THANKS RUCHI'S AND THE OTHERS Looks like it was a race for the points.