Passing parameters from Forms to Reports [message #88424] |
Tue, 27 August 2002 02:29 |
Suresh Krishna
Messages: 5 Registered: June 2002
|
Junior Member |
|
|
My report is based on a table from which I want to filter a few records based on the passing dates.
I am calling the report from the form itself. This form contains two date inputs (From date & two date) as text fields and these values I want to pass into the report query,(Select * from
where date >=&<= passed )
|
|
|
|
Re: Passing parameters from Forms to Reports [message #88437 is a reply to message #88433] |
Thu, 29 August 2002 21:51 |
Amitabha Palit
Messages: 8 Registered: August 2002
|
Junior Member |
|
|
SELECT * FROM
WHERE
NVL(TO_CHAR(TABLE_DT,'DD-MON-YY'),' ')
BETWEEN
NVL(:ST_DATE_PARAM,NVL(TO_CHAR(TABLE_DT,'DD-MON-YY'),' '))
AND
NVL(:END_DATE_PARAM,NVL(TO_CHAR(TABLE_DT,'DD-MON-YY'),' ')) ;
FOR ANY FURTHER QUESTION CONTACT,,,
|
|
|
|
|