Hello, everyone,
We’ve had a problem with reports using date parameters for some time now - and no solution from the local BO support. In short, a user selects DateFrom and DateTo, runs the report, and gets wrong results (dates in the report are not those selected in the parameter box). The only workaround we were able to come up with requires the user to go to the Control Panel/Regional Settings/ Date/Short date style and to “toggle” the date format. And I mean, literally, toggle - it does not seem to matter what format is selected, as long as the format field has been in any way changed. From now on, for the duration of the session, any reports using date parameters will work correctly.
I have checked the ociv&.sbo file, and the InitDate and InputDate formats are NOT the same.
Input = “DD-MM-YYYY HH:MM:SS”;
Init = “DD-MM-YYYY HH24:MI:SS” These settings were provided by
a BO consultant and seem to be the only ones that work (well, they allow the reports to execute !).
I’ve re-run the report with some changes in the formats, with the following results:
- HH:MM:SS
HH24:MM:SS or
HH:MM:SS
HH:MM:SS or
HH24:MM:SS
HH24:MM:SS produce ORA-01843 error: Not a valid month.
- HH24:MI:SS
HH24:MI:SS produces ORA-01830 error: date format picture ends
before
converting entire input string.
Now, does anybody have any pointers or suggestions (well, a working solution would
be a blessing …) ? Thanks in advance, cheers, Irena
Listserv Archives (BOB member since 2002-06-25)