Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Default Prompt Value Selection

Status
Not open for further replies.

CognosTalk

Technical User
Joined
Apr 24, 2007
Messages
71
Location
CA
when running report and receiving parameter page how do i make parameter value selection to highlight initially by default sertain value that is a part of the choice in the parameter list.
Thank you in advance for your support!
 
Hi,

Depends which product you are using - ReportNet? Cognos 8? Impromptu?...

Taking a flyer and assuming it's Cognos 8, find the saved report in Cognos Connection, use the 'Set Properties' button for thr report, and go to the Report tab. You should see a link in the 'Prompt values' section of the page to allow you to set default values for the prompts whenever the report is run.

Regards,

MF.
 
Current fiscal year should be highlighted (selected) by default when running this report; however, i might change and select other year if i want to. For the future, it should only select the current year.
It is only one of the parameters. I am using Cognos 8.2 report Studio
 
Hello, you could add a HTML item to the prompt page and have it select the specific parameter value by adding javascript. This is easier if it's a static listbox where you know that position of the 'DISPLAY' value. (ie. you want United States to be selected by default in the Country dropdown box so you set the control item to focus on listBoxCountry.item[5].focus().

Let me know if that is similar logic to what you're looking for and we can find a more relevant example to help you.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top