What I am trying to do is make a form in Access and with out having to cut and paste over and over again have it ascend by rank, the problem with this is that lower ranks have letters closer to one if I have a list like this
Cpl 4th rank
MSgt 8th rank but it is a higher rank then Cpl
1st lt is is like the 11th ranking etc..
yes the 1st lt will usually go first but how would make it so that it shows up like
1st Lt
MSgt
Cpl
and there are other ranks out there. is there a module that i can use for this or would some one have to program something in visual basics for the spread sheet or for access.
It is in database format but if I have to export it and do it in excell I can do that too.
The usual way to do this is to have a table of ranks and the rank sort order, you can use this to sort your table, the record source of your subform would be on the lines of:
You need to include a number that says how the table is to be sorted.
A relational database, such as Access, only has an order if you give it one.
You probably have a table with a lot of people, I have called this MainTable in my example, then you should have a look-up table, let us call it Rank, and it should look like the table illustrated above. This means that you do not need two fields in the main table to say what the rank is and how it should be sorted, in addition, a look-up table means that each entry is the same, so you don’t end up with, for example:
1st Lt
First Lt
1st Lieut
You might like to read
Fundamentals of Relational Database Design