on 09-28-2007 6:56 AM
I have a dropdown box for calendar year
Intitally when I run my webtemplate it should show me the values for all the years in the below format
Industry -
Value2006 -
Value2005
When I select from the dropdown value of the calendar year = 2006 then it should me only the values of 2006 & hide value of 2005 & when I select calendar year = 2005 then it should me only the values of 2005
Pls provide me the code for this in WAD 3.5
Thanks
SVR
SVR,
Your web item Drop Down box is linked to the data provider that is display the results?
If it is, surely when you make a selection from the Drop Down box the dataproviders associated with it (there can be more than one) will change automatically. You shouldn't need any additional code bar standard functionality?
Maybe I'm missing something in the query you are asking.
Regards
Gill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi....use two variable (FROM and TO) for calender year. Set default value as 2005 and 2006. Then selelct only 2006 for both FROM and TO variable. Insert these variables as dropdown in WAD.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi.....since you will have two variables (defined as range.....they are not single values, define variables as range)....you can select any number of values for calender year.
in WAD, you have dropdown item. In that dropdown item, you have variable option. It will accept only variables available in the infoproviders/query used in WAD.
User | Count |
---|---|
86 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.