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

Filter fields starting with a number 1

Status
Not open for further replies.

rmh3619

Technical User
May 29, 2006
29
NL
I want to filter all records which start with a number.

i use the following code to filter fields starting with a specific letter:

Me.[customers subform].Form.Filter = "company Like 'A*'"
Me.[customers subform].Form.FilterOn = True

how can I use this code to filter on company names starting with a number and not writing lenghty code 1 or 2 or 3 or 4 etc

 
Me![customers subform].Form.Filter = "company Like '#*'"

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Thanks PHV that works great.

I really appreciate your help!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top