mtl2302
Technical User
- Apr 12, 2007
- 10
Crystal Reports XI
Oracle Database
How can I sort dates when they are stored as text in a formula.
I have a formula that sets a defined date range, say < 7/1/07 as text "Pre", the date range 7/1/07 - 7/31/07 as the actual date, and >7/31/07 as "Post".
I would like to sort the output in the following way:
Pre
7/1/07
7/2/07
...
7/30/07
7/31/07
Post
Naturally the dates don't sort correctly since they are stored as text.
Any ideas?
Oracle Database
How can I sort dates when they are stored as text in a formula.
I have a formula that sets a defined date range, say < 7/1/07 as text "Pre", the date range 7/1/07 - 7/31/07 as the actual date, and >7/31/07 as "Post".
I would like to sort the output in the following way:
Pre
7/1/07
7/2/07
...
7/30/07
7/31/07
Post
Naturally the dates don't sort correctly since they are stored as text.
Any ideas?