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!

Search field for specific Character

Status
Not open for further replies.

kdoran

Technical User
Joined
Mar 23, 2003
Messages
88
Location
US
I am trying to search a field with a query and want the criteria to find a single character and I am not sure how to find a character that may not always be in the same spot.

Example

Looking for V

FIV-18001
TV-18050

I am using this query for a report.

Any ideas,

Kelly
 
you can set the criteria to

like "*v*"
 
Use the following SQL as a guide to setup a query for your table and fields:

Select *
FROM tblYourTable
WHERE (((Instr(1, tblYourTable.FieldName, "V"))>0));

Good luck. Bob Scriver
 
Thank you both for your help.

Kelly
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top