If I had 10 variables that could get asked to the user, is there a way to only make 2 or 3 appear depending on what Data Source the user is selecting?
I want the variables to always be declared in the dictionary, but many of them aren't going to be used at the same time, and in order to make things simple, I'd like to only display those that are relevant to the information the user is working with.
Is there a way to limit the variables asked to the user?
-
- Posts: 53
- Joined: Wed Nov 27, 2013 5:24 pm
Re: Is there a way to limit the variables asked to the user?
Hello,
Please try to use the Dependent value in Request from user variables.
http://www.stimulsoft.com/en/documentat ... =Dependent
Thank you.
Please try to use the Dependent value in Request from user variables.
http://www.stimulsoft.com/en/documentat ... =Dependent
Thank you.
-
- Posts: 53
- Joined: Wed Nov 27, 2013 5:24 pm
Re: Is there a way to limit the variables asked to the user?
I think the point of that is to filter the quantity of values a variable may have, that's not exactly what I need, I'm thinking on something like this:
I have Variable1, Variable2 and Variable3 declared, and they all get asked from the user.
However there are many Data sources the user may select from, say the user selects Data source A, then if A, I must only show Variable1 and Variable2 to the user to pick from, there's no point in allowing him to pick from Variable3 since its content has nothing to do with the Data source he selected. Then if he selected Data source B, I must only show Variable3 and not 1 and 2 and so on.
I'm talking about the actual textboxes, not just about the values they contain.
Is there a way for this to be done?
I have Variable1, Variable2 and Variable3 declared, and they all get asked from the user.
However there are many Data sources the user may select from, say the user selects Data source A, then if A, I must only show Variable1 and Variable2 to the user to pick from, there's no point in allowing him to pick from Variable3 since its content has nothing to do with the Data source he selected. Then if he selected Data source B, I must only show Variable3 and not 1 and 2 and so on.
I'm talking about the actual textboxes, not just about the values they contain.
Is there a way for this to be done?
Re: Is there a way to limit the variables asked to the user?
Hello,
Unfortunately, but this task you need try to realize in your application, not in report.
Thank you.
Unfortunately, but this task you need try to realize in your application, not in report.
Thank you.