If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Do Not Set meaning in Active report Set Variable Values

Started by cognos05, 03 Mar 2015 04:12:37 PM

Previous topic - Next topic

cognos05

Do Not Set meaning in Active report Set Variable Values.

I am having a Data toggle button bar and a data deck..Each value in the button reflects the change in the data deck. and they are connected through a variable say 'y'

Now I am adding  a separate button say Enable and create a variable for button and set its value to disable by default and then go to set variable values and set the button variable value to Enable and my 'Y' variable to do not set.

Now I go to my data toggle button bar and click control enable and set the value to enable and choose the button variable.

By this I am achieving disabling of the control at the start and then after click of button my controls are enabled.

so is that mean when I click the the set to variable values will be applied and it automatically enables by other control given of enable control properties?



Thanks,
Nithya

MFGF

Quote from: nithya1224 on 03 Mar 2015 04:12:37 PM
Do Not Set meaning in Active report Set Variable Values.

I am having a Data toggle button bar and a data deck..Each value in the button reflects the change in the data deck. and they are connected through a variable say 'y'

Now I am adding  a separate button say Enable and create a variable for button and set its value to disable by default and then go to set variable values and set the button variable value to Enable and my 'Y' variable to do not set.

Now I go to my data toggle button bar and click control enable and set the value to enable and choose the button variable.

By this I am achieving disabling of the control at the start and then after click of button my controls are enabled.

so is that mean when I click the the set to variable values will be applied and it automatically enables by other control given of enable control properties?



Thanks,
Nithya

Hi,

First, an observation. Data toggle button bars allow multiple buttons to be in the "Enabled" state simultaneously (ie you can select more than one value at any one time). Data Decks can only ever show one card at any one moment. Let's say you have cards for data values A, B and C, and the same data values in a Data Toggle Button Bar, and the Data Toggle Button Bar is Selecting the Data Deck via a variable. If you press button A, card A is selected. If you deselect button A and press Button B, card B is selected. What happens if both buttons A and B are selected? Only one card can be shown in the data deck - which is it, A or B? What happens if you then press button C so all three buttons are selected? Which card is shown? What happens if you deselect button B so that A and C are selected?

You can see from this that it's not a good idea to use a multi-select control (such as a data toggle button bar) with a data deck. Instead, use a data button bar. These allow only one value to be selected at any one time.

Ok - so on to your real question. It sounds like you're experimenting with the Control Enable property? I'm not quite clear on what you are asking, though. Generally I don't use this unless there is a need to. One example where I would is in emulating a "Cascading prompt". I could use two data dropdown lists, for example. The first one is for the Product Line item, and sets a variable called vProductLine. I have a second data dropdown list for the Product Type item which sets a vProductType variable, and it has the Control Enable property set based on the vProductLine variable, plus it is also filtered by the vProductLine variable. This means that when the report first renders and no Product Line is selected, the Product Type dropdown list is greyed out and inactive. When a user selects a Product Line and the vProductLine variable gets set, the Product Type dropdown list becomes active and the values it displays are filtered based on the entry in vProductLine. This looks to the user like a cascading prompt :)

MF.
Meep!

cognos05

Thanks MFGF,

I understood your explanation .That example was given in ibm developer works document, so I just tried that.
http://www.ibm.com/developerworks/data/library/cognos/reporting/active_report/page593.html#static_repeater_table

Under button.

Thanks,
Nithya