R
robboll
I am trying to sort an MS Access 2003 database with a text field:
ApproxDTE with entries like
5-72
8-58
9-84
..
..
..
As text these do not sort correctly. If I do something funky like
datevalue([ApproxDTE]) it gives me values like 5/1/72, 8/1/58, 9/1/84
-- which is great -- but don't try to put in in Assending order. It
fails with the error:
This expression is typed incorrectly, or it is too complex to be
evaluated. For eample, a numeric expression may contain too many
complicated elements. Try simplifying the expression by assigning
parts of the expression to variables.
If I use: Format(DateAdd("d",7,[ApproxDTE])) it returns values like:
5/8/72, 8/1/58, 9/1/84 which is fine too, and you can use Assending
order -- but it doesn't sort correctly.
Any help (without having to append to a seperate table) greatly
appreciated!!!
RBollinger
ApproxDTE with entries like
5-72
8-58
9-84
..
..
..
As text these do not sort correctly. If I do something funky like
datevalue([ApproxDTE]) it gives me values like 5/1/72, 8/1/58, 9/1/84
-- which is great -- but don't try to put in in Assending order. It
fails with the error:
This expression is typed incorrectly, or it is too complex to be
evaluated. For eample, a numeric expression may contain too many
complicated elements. Try simplifying the expression by assigning
parts of the expression to variables.
If I use: Format(DateAdd("d",7,[ApproxDTE])) it returns values like:
5/8/72, 8/1/58, 9/1/84 which is fine too, and you can use Assending
order -- but it doesn't sort correctly.
Any help (without having to append to a seperate table) greatly
appreciated!!!
RBollinger