G
Guest
hello all,
I have an access 2002 project that shows projects by a release. The first 3
letters of the release indicate the month (JAN, FEB, MAR....). the kicker is
this is a text field with various characters after the first 3 letters that
have no relevance to a date format.
In my queries, I want to be able to sort the releases like it was a date
field. It is currently sorted as text since it is a text field.
My idea is to have a seperate table that appends each of these release
values in a table (tbl_Release_Sort) and also have a field titled Sort_Order.
Run 12 seperate queries to evaluate the first 3 characters and then update
the Sort_Order field. For example query 1 would select all records in
tbl_Release with JAN as the first 3 characters and update the filed
Sort_Order = "1". And then repeat this for each month of the year.
I could then join this Sort_Order field to my queries to properly sort my
queries.
Is this the best and easiest way? If so, what would the expression be to
evaluate just the first 3 letters of the field release?
I have an access 2002 project that shows projects by a release. The first 3
letters of the release indicate the month (JAN, FEB, MAR....). the kicker is
this is a text field with various characters after the first 3 letters that
have no relevance to a date format.
In my queries, I want to be able to sort the releases like it was a date
field. It is currently sorted as text since it is a text field.
My idea is to have a seperate table that appends each of these release
values in a table (tbl_Release_Sort) and also have a field titled Sort_Order.
Run 12 seperate queries to evaluate the first 3 characters and then update
the Sort_Order field. For example query 1 would select all records in
tbl_Release with JAN as the first 3 characters and update the filed
Sort_Order = "1". And then repeat this for each month of the year.
I could then join this Sort_Order field to my queries to properly sort my
queries.
Is this the best and easiest way? If so, what would the expression be to
evaluate just the first 3 letters of the field release?