neilwebber
Registered User.
- Local time
- Today, 10:44
- Joined
- Aug 19, 2002
- Messages
- 35
slightly oddball sort criteria
Hello again all
I have a table with a field 'SiteNumber' (a primary key). Values for SiteNumber take the form (for simplicity)
PLS00001A
PLS00001B
PLS00001X
PLS00002A
PLS00002B
PLS00002X
I'd like to sort this table so that the records appear as follows
PLS00001X
PLS00001A
PLS00001B
PLS00002X
PLS00002A
PLS00002B
ie for each number, move the 'X' record to the top, sort the rest alphabetically and then move to the next number, 'X' to the top and so on
Can anyone suggest anything to put in the the 'criteria' box in an advanced sort that might achieve this?
many thanks
Neil
Hello again all
I have a table with a field 'SiteNumber' (a primary key). Values for SiteNumber take the form (for simplicity)
PLS00001A
PLS00001B
PLS00001X
PLS00002A
PLS00002B
PLS00002X
I'd like to sort this table so that the records appear as follows
PLS00001X
PLS00001A
PLS00001B
PLS00002X
PLS00002A
PLS00002B
ie for each number, move the 'X' record to the top, sort the rest alphabetically and then move to the next number, 'X' to the top and so on
Can anyone suggest anything to put in the the 'criteria' box in an advanced sort that might achieve this?
many thanks
Neil