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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Missing Operator 1

Status
Not open for further replies.

ZOR

Technical User
Joined
Jan 30, 2002
Messages
2,963
Location
GB
I have a missing operator message on below

Do While Not rsAllAthletes.EOF
rsJunction.AddNew
rsJunction.Fields("ID2") = rsAllAthletes.Fields("ID2")
rsTopAthletes.FindFirst ("Athlete = '" & rsAllAthletes.Fields("Athlete") & "'")
rsJunction.Fields("AthleteID") = rsTopAthletes.Fields("IDA")
rsAllAthletes.MoveNext
rsJunction.Update
Loop

The line highlighted is:

rsTopAthletes.FindFirst ("Athlete = '" & rsAllAthletes.Fields("Athlete") & "'")

Any idea, thanks
 
How about:

rsTopAthletes.FindFirst ("Athlete = '" & Replace(rsAllAthletes.Fields("Athlete"),"'","''") & "'")
 
That fixed it, many thanks Remou, trust your well. Regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top