Solved

Help on ADO.RS.FIND

Posted on 2000-04-19
5
144 Views
Last Modified: 2010-05-02
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




0
Comment
Question by:Rev032400
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 28

Expert Comment

by:AzraSound
ID: 2732383
Find "SITE_NAME = Text17.Text"
0
 
LVL 9

Accepted Solution

by:
Ruchi earned 15 total points
ID: 2732398
Try this one...

Find "SITE_NAME = '" & Text17.Text & "' "
0
 
LVL 2

Expert Comment

by:Sage020999
ID: 2732461
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
0
 
LVL 28

Expert Comment

by:AzraSound
ID: 2732541
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)
0
 

Author Comment

by:Rev032400
ID: 2732750
THANKS RUCHI'S AND THE OTHERS Looks like it was a race for the points.

0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Spell Check in VB6 13 146
Automatic Email Reminder 4 94
VB6 - Scroll Mouse wheel on Picturebox 13 118
VBA Replace Function - What am I missing? 3 50
There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question