Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ADODC problem

Status
Not open for further replies.

gazflat33

Technical User
Nov 22, 2002
13
GB
I have my code which finds a record in a datagrid, using an adodc. What I want is my other adodc to point to the record that the first one is.

Code:
Private Sub Command3_Click()
surfynd = "Surname=" + Chr(39) + RichText1.Text + Chr(39)
Adodc1.Recordset.Find surfynd
Text1.Text = Adodc1.Recordset!Surname

So e.g. the adodc2.recordset will point to the same ID thats been found.

Sorry if I have explained this badly.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top