Report not reading the parameters passed [message #516087] |
Fri, 15 July 2011 01:12  |
 |
dhivyaenjoy
Messages: 49 Registered: June 2011
|
Member |
|
|
Hi,
I have developed a RDF report which when linked to my application called OTM, it returns data which are not expected.
My report has two lexical parameters which are of date variables.
When i run the report from my application it asks for the parameter valeus and when i specify it, the report is not returnign the data within the date range i specified. it returns me all the data.
Kindly help me out.
Regards,
Dhivya
|
|
|
|
|
Re: Report not reading the parameters passed [message #516150 is a reply to message #516142] |
Fri, 15 July 2011 04:12  |
 |
Littlefoot
Messages: 21823 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
When working with dates (and passing string values), one needs to take care about correct datatype conversion (TO_DATE against strings), correct format masks etc. You use GET_FILTER_CONDITION (a function, I suppose) that accepts :P_DATE_FORMAT (which is another parameter, I guess, containing format mask you use (DD-MM-YYYY, right?). Does that function works OK?
Try to display lexical parameters with SRW.MESSAGE built-in, so that you'd see how they look like. Copy/paste them into SQL*Plus and run SELECT statement (you know how it looks like - now append lexical parameters you saw on the screen).
|
|
|