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

LIKE clause

Status
Not open for further replies.

davetek

Programmer
Joined
Oct 30, 2002
Messages
42
Location
IE
Hi,
I need to match a field in a query to another field in a query using LIKE. HOwever I want to append '*' to the end of it, however i cannot seem to get the syntax correct...any suggestions:

WHERE ((([Sec_Ratios]![Security]) Like ([Sub_FUT_1]![Sec]&"*")));

Cheers
 
well to be honest i've tried both, but the example i showed was part of an SQL string
 
Hi

In that case:

"... WHERE ((([Sec_Ratios]![Security]) Like (" & [Sub_FUT_1]![Sec]& "*)));"

Regards

Ken Reay
Freelance Solutions Developer
Boldon Information Systems Ltd
Website needs upgrading, but for now - UK
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top