on 2011 Mar 21 4:22 PM
Hi,
I need to accept data from user in dd/mm/yyyy format, but as of now the default format what the prompt is taking is mm/dd/yyyy.
Considering the prompt as 'Date from'. Kindly help me out with the code for dd/mm/yyyy.
As of now the query is MRK.Data.From_Date=@Prompt('Date from','D',,,).
Thanks.
Jim
Hi,
The date format of the prompt is controlled by a prm file on your Busienss Objects server
Open your universe, parameters and test connection
Open details - locate PRM file being used
Go to Business Objects Server
Open PRM file using notepad
Locate line below and edit date to required format
<Parameter Name="USER_INPUT_DATE_FORMAT">{\d 'yyyy-mm-dd HH:mm:ss'}</Parameter>
Re-start connection server
Test your date prompt....
These links may be help you:
http://forumtopics.com/busobj/viewtopic.php?p=628947&sid=a6dffd86c651cd070aac2649459b25a4
Edited by: Swarna K on Mar 22, 2011 7:46 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jim!
You can define objects in your universe where you define the input: ie
Object: Prompt From
SQL: to_date(@Prompt('1 Period from (dd/mm/yyyy)','A',,MONO,FREE),'dd/mm/yyyy')
This works for Oracle, requiring the user to input the date as text, which will be interpreted by the DB. But you will loose the calendar prompts from BO.
ciao Hakan
User | Count |
---|---|
70 | |
10 | |
10 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.