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

Reference to surname only

Status
Not open for further replies.

GirlBlonde

Programmer
Oct 30, 2007
94
AU
Hi i have to refer to a client name from another form and the problem i am having is the name on the refered form is John Smith, however the information for the next form i want to bring up has 2 john smiths but one has a middle initial in it, so only one record is being brought up not the two relating records.

how can i bring up both records in this instance. i can not seem to do a like *forms![form]![field] in the query.

greatly appreciate any help.

Energy & persistance conquer all things!
 
Try:

Like "*" & Replace(forms![form]![field]," ","*") & "*
 
thank you worked!

Energy & persistance conquer all things!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top