Вы находитесь на странице: 1из 2

Checkbox in Report Studio

A prompt page with two check box. Each check box will be associated with a section in Report page and based upon which checkbox is selected it will show the section in Report page

1.

Create a value prompt with your two values, and change the format to show as a checkbox, call it "promptSection", set the display properties as your labels, and the values as 1 and 2, or whatever you want 2. Create a string variable the variable expression will be something like PromptValue("promptSection") - set the string values to the values you chose in 1. 3. Remove your original list report from the layout - hint select the section report and use "Ctrl X" to cut the report so the query is left behind but the report layout is removed 4. Take your original query and use it to create 2 separate tabular queries, filter each query by the section you want it to contain. 5. Use the two new queries to create separate lists reports, you can section them on your section title so it looks the same as before - you may also need to set the size of the columns so the two reports line up correctly and look like a single report! 6. Add a conditional block to your report layout, use the string variable from 2 to set the value for the condition 7. Drag each of your different lists (and sections if you used them) to each of their corresponding condition in the block - you can ignore the "(Other)"condition as this will never be used Run your report and select one of the prompts, re-run and choose the other prompt you, if you created the report correctly you should see the corresponding section when you select the prompt value P Please consider the environment before printing this e-mail This email is confidential and intended solely for the addressee[s]. For your security this email contains a digital signature which verifies the identity of the email sender. If you are not the intended recipient you must not copy, distribute, disseminate, nor act upon the information. If you have received this message in error do not open any attachment, instead please inform the sender and then delete the message from your system. We have taken reasonable steps to reduce risks against viruses but please rely on your own virus check as no responsibility or liability can be accepted for any damage sustained as a result of this transmission.

1. Create your value prompt 2. Set the Display and use values 3. In the value prompt properties Under General you can change 'Select UI' to 'Radio Button Group', and you can set 'AutoSubmit' to 'Yes' 4. Everything else in my instructions is as originally directed.

You did not specify in your original email that you needed to autosubmit the prompt, but that is all you need to change in the instructions. P Please consider the environment before printing this e-mail This email is confidential and intended solely for the addressee[s]. For your security this email contains a digital signature which verifies the identity of the email sender. If you are not the intended recipient you must not copy, distribute, disseminate, nor act upon the information. If you have received this message in error do not open any attachment, instead please inform the sender and then delete the message from your system. We have taken reasonable steps to reduce risks against viruses but please rely on your own virus check as no responsibility or liability can be accepted for any damage sustained as a result of this transmission.

Josephra

Вам также может понравиться