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!

criteria in a query 1

Status
Not open for further replies.

joeythelips

IS-IT--Management
Aug 1, 2001
305
IE
Hi,

I run a query in access which return a list of 9 digit numbers e.g 338098761
What i want to do is prevent numbers which have the digit 4 as their third last digit. e.g 338098401

Any ideas?

Thanks for your time
 

Select * From Table
Where Mid(Format(TheNumber),7,1) <> &quot;4&quot; Terry L. Broadbent
FAQ183-874 contains tips for posting questions in these forums.
NOTE: Reference to the FAQ is not directed at any individual.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top