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

Please help me word this Like statement.

Status
Not open for further replies.

Ngabay

MIS
May 16, 2003
25
US
I am trying to use a Like statement with an input box. The Like statement is not working properly, it is acting as an =.

![name] Like [Enter name: ]

How do I get the above statemnt to work properly?

If I enter "Ty" then all the names with "TY" should display.

Thank you,
NG
 
Thank you for your reply Savil,


I made the recommended changes but the input box is not poping up. I donnot believe that the quotes work with an input box. Any other suggestions?

Thanks,
NG
 
That works

![name] Like '"*' & [Enter name: ] & '*"'

tried it myself
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top