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

Access Query -FIND HIGHEST ALPHANUMERIC VALUE

Status
Not open for further replies.

jhjarvie

Technical User
Joined
May 5, 2009
Messages
1
Location
GB
I have an access table which has a field populated with alphanumeric values i.e. AVF1, AVF2, AVF3 and so on(i.e. AVF100 will be larger than AVF99), I need to find the highest single value in that field using a query ....any help?
 
Include an extra column (or two) in a query, separating the field.
First new column: = left(fieldname, 3).
Second new column: = right(fieldname,len(fieldname)-3).
Sort by second new column, then by first new column.
It's not necessary to display all columns.


Randy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top