Kahlor
Programmer
- Jun 21, 2002
- 13
Hi,
I have a simple query that pulls information from a table:
(Field2 is a date field. This query lists everything that is over 30 days old.) What I want to add next to this query is:
If Field2 is under 30 days old then return the words "In Process" (instead of the actual date in the table).
So, on the report you would see something like:
How would I do this?
Any and all help is appreciated! Thank you!
I have a simple query that pulls information from a table:
Code:
Select Field1, Field2
From MyTable
Where Field2 < (sysdate - 30);
If Field2 is under 30 days old then return the words "In Process" (instead of the actual date in the table).
So, on the report you would see something like:
Code:
FIELD1 FIELD2
------ ----------
1234 06-JUN-02
2345 12-JUL-02
3456 In Process
4567 24-MAY-02
5678 In Process
Any and all help is appreciated! Thank you!