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

ReportNet -->Report Studio Prompts - Is there a checkbox-type control?

Status
Not open for further replies.

JGirl

Programmer
Aug 21, 2002
210
AU
Hi,

I've been playing around with reportnet and creating prompt pages in Report Studio. I've created a value list prompt that contains a list of "Risk Types" to filter my report on.

This works fine, however, I'd like to have a checkbox or similar control linked to this prompt that gives the user the option of filtering by Risk Type. If the user ticks the checkbox, then I'd like to display the "Risk Types" prompt so they can select the required values to filter the report on, and if the checkbox is unticked, I'd like no filtering to be applied to Risk Type (and have the "Risk Types" prompt greyed out).

Does anyone know if this is possible in reportnet or am I asking too much?

Thanks in Advance,
J
 
J,

After reading your post, I took a peek at the prompts, and was amazed to see that ReportNet appears to not have a checkbox/radio button type of prompt!

One thought... you could perhaps use conditional blocks to hide the second prompt, based on the value of the first prompt. So, make the "Filter Risk Types?" prompt a value prompt that contains values "Yes" and "No". Set the default selection to "No", and hide the block containing the second prompt when the value is "No." Then, if the user selects "Yes", the block that contains the "risk type" prompt will become visible.

I played a bit with conditional blocks in the prompt pages and didn't have much luck, but my conditional values were based on query results. Maybe using static values (yes/no) to populate the variables will work better.

Good luck.
 
J

you can change a Value Prompt to be a radio button depending on the 'Multi Select' and the 'Select UI'. Depending on how you set up your source query ('in', 'range',etc) depends on how it behaves and looks. What Stacy is suggesting seems to be very complicated and can be done easily.

Regards

Phil.
 
well, there is checkbox type prompt. You can select from the list, like dropdown/checkbox of a value prompt.

regards,
sudhi
 
Just found the radio button option myself and came to post it... much easier than trying to use conditional blocks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top