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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to notify user that enough parameters have not been selected in the prompt page at run time?

Status
Not open for further replies.

rez1824

Technical User
Jan 17, 2013
3
AU
Hello eveyone,


I am working with BI Cognos 10.1.1 report studio,and I have designed a prompt page for my report for inputing the parameters which comes up first at run time. I would like to present a message to user in case of forgetting or not selecting one of 2 parameters that needs to be selected.
In another word, among 5 Checkbox Group parameters (X,Y,Z,A,B) that have been presented on the prompt page, for example: selecting a value from Z CheckBox Group or A CheckBox Group is mandatory and user can not leave both of them unselected.
How can I check this matter when user press the "Finish" button ?

- In case of feeding both Z & A parameters or one --> it's OK and the report runs and shows the result.
- In case of leaving both Z & A unseledted --> a message needs to be shown to user to select one of these and it remains in the prompt page to let him at least feed one of them.

Your replies would be greatly appreciated.

Regards,

Rez
 
Thanks for your reply,
but how can I apply a java code to my report studio?

 
By means of adding Javascript in the HTML component in the report design. Check out Paul's site I mentioned. Can't help you with writing the Java code myself :(

Ties Blom

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top