Since the Select all feature was removed from drop downs I have created my
own value to represent that and union it to the dataset for one of my
parameters. I'm trying to make that the default value, but it won't let me
reference the top of the dataset because the parameter uses the same
dataset.
Hmm... that sound confusing, I'll try again but leave that in case someone
understands it.
Basically I have a parameter of "Owners" which is just a string collection
of names. This box is populated by a dataset named the same. I fill the
Value and the Label of the parameter with Owners.ownername. That dataset is
just a simple table field but I union the string "(SELECT ALL)" to the top
of it so that it's the first record returned and appears at the top of the
parameter drop down selection.
I then try to set the default value of the Parameter. If I use a
non-queried value I can use an expression and selection the first of the
field. The problem is that non-queried can not use fields. If I try to
use a queried value it selects everything.
Is there a way to just fill that first record?> The problem is that non-queried can not use fields. If I try to
> use a queried value it selects everything.
> Is there a way to just fill that first record?
Why is it a problem that you can not use fields. If you use the non-
queried default value "(SELECT ALL)" then this is what should be
selected by default.
Rowen|||Ofcourse you can use it in the expression of non-queried with hard coded
"select All" so whenever the first record or the parameter is "select All"
then it should be "Select All" string.
Amarnath
"Ryan" wrote:
> Since the Select all feature was removed from drop downs I have created my
> own value to represent that and union it to the dataset for one of my
> parameters. I'm trying to make that the default value, but it won't let me
> reference the top of the dataset because the parameter uses the same
> dataset.
> Hmm... that sound confusing, I'll try again but leave that in case someone
> understands it.
> Basically I have a parameter of "Owners" which is just a string collection
> of names. This box is populated by a dataset named the same. I fill the
> Value and the Label of the parameter with Owners.ownername. That dataset is
> just a simple table field but I union the string "(SELECT ALL)" to the top
> of it so that it's the first record returned and appears at the top of the
> parameter drop down selection.
> I then try to set the default value of the Parameter. If I use a
> non-queried value I can use an expression and selection the first of the
> field. The problem is that non-queried can not use fields. If I try to
> use a queried value it selects everything.
> Is there a way to just fill that first record?
>
>
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment