Two Newbie Parameter Questions 
Author Message
 Two Newbie Parameter Questions

I am sure that these are FAQs, but I can not find them listed anywhere and
they are certainly not answered in my copy of the 8.5 user's guide.  Any
help woudl be appreciated:

1. Is there a way to have the options for a parameter list pulled from a
data source rather than have them be hard-coded?  (Any tricks like using
subreports ect...?)

2. Is there any way of having an "ALL" selection added to your list of
parameter values and have that set as the default value?

GOAL: Develop a report that has multiple parameters whose choices should be
made froma a distinct lookup of certain fields and allow the user to specify
"ALL" on some or all of the parameters.  (EG: Have the user choose "Status",
"State" and "Type" where Status is a list of all distinct values of statuus
found in a "Status" filed *plus* the default choice of "All" which would
indicate that the report should not select based upon status at all.  Do the
same for the State and Type fields.)

Thanks again for any help that is available!



Mon, 25 Jul 2005 02:23:20 GMT  
 Two Newbie Parameter Questions
Answering the second question first:  Yes, you can offer that choice.  I use
CR7 and have done this.  I specify my choices when I create the parameter
field, the first one in the list being my default value.  In my record
selection formula, I have an If..Then statement like:  If ?Status <> "ALL"
Then {Table.Status} = ?Status Else True
You will probably have one of these clauses for each parameter.

For the first question:  We use Crystal Enterprise for our users to access
their reports.  I don't remember all of the details, but, we have created
picklist reports that, when processed, create text files which are lists of
all of the choices that we want to offer to a user.  Our regular reports use
the picklist text file for the parameter list, rather than hard coding the
list.  Even this method requires that the picklist report be processed
regularly, or at least right before a standard report, so that the list is
kept up to date.

I'm certain that there must be better ways of doing this, but it satisfies
our needs right now.

Bob Holmes


Quote:
> I am sure that these are FAQs, but I can not find them listed anywhere and
> they are certainly not answered in my copy of the 8.5 user's guide.  Any
> help woudl be appreciated:

> 1. Is there a way to have the options for a parameter list pulled from a
> data source rather than have them be hard-coded?  (Any tricks like using
> subreports ect...?)

> 2. Is there any way of having an "ALL" selection added to your list of
> parameter values and have that set as the default value?

> GOAL: Develop a report that has multiple parameters whose choices should
be
> made froma a distinct lookup of certain fields and allow the user to
specify
> "ALL" on some or all of the parameters.  (EG: Have the user choose
"Status",
> "State" and "Type" where Status is a list of all distinct values of
statuus
> found in a "Status" filed *plus* the default choice of "All" which would
> indicate that the report should not select based upon status at all.  Do
the
> same for the State and Type fields.)

> Thanks again for any help that is available!



Mon, 25 Jul 2005 04:30:10 GMT  
 Two Newbie Parameter Questions
Thank you for your help!  I appreciate you taking the time to give me such
an answer.

If anyone else has info on the dreaded "I want a dynamically generated
picklist parameter" problem, please let us know!


Quote:
> Answering the second question first:  Yes, you can offer that choice.  I
use
> CR7 and have done this.  I specify my choices when I create the parameter
> field, the first one in the list being my default value.  In my record
> selection formula, I have an If..Then statement like:  If ?Status <> "ALL"
> Then {Table.Status} = ?Status Else True
> You will probably have one of these clauses for each parameter.

> For the first question:  We use Crystal Enterprise for our users to access
> their reports.  I don't remember all of the details, but, we have created
> picklist reports that, when processed, create text files which are lists
of
> all of the choices that we want to offer to a user.  Our regular reports
use
> the picklist text file for the parameter list, rather than hard coding the
> list.  Even this method requires that the picklist report be processed
> regularly, or at least right before a standard report, so that the list is
> kept up to date.

> I'm certain that there must be better ways of doing this, but it satisfies
> our needs right now.

> Bob Holmes



> > I am sure that these are FAQs, but I can not find them listed anywhere
and
> > they are certainly not answered in my copy of the 8.5 user's guide.  Any
> > help woudl be appreciated:

> > 1. Is there a way to have the options for a parameter list pulled from a
> > data source rather than have them be hard-coded?  (Any tricks like using
> > subreports ect...?)

> > 2. Is there any way of having an "ALL" selection added to your list of
> > parameter values and have that set as the default value?

> > GOAL: Develop a report that has multiple parameters whose choices should
> be
> > made froma a distinct lookup of certain fields and allow the user to
> specify
> > "ALL" on some or all of the parameters.  (EG: Have the user choose
> "Status",
> > "State" and "Type" where Status is a list of all distinct values of
> statuus
> > found in a "Status" filed *plus* the default choice of "All" which would
> > indicate that the report should not select based upon status at all.  Do
> the
> > same for the State and Type fields.)

> > Thanks again for any help that is available!



Mon, 25 Jul 2005 04:51:50 GMT  
 Two Newbie Parameter Questions
I checked with my co-worker about the picklist.  We used one report to
create the picklist for others by having the picklist report provide its
output as a text file.  Our other reports import the picklist within their
parameter's properties.  If you are using a front-end, you could write some
code to update the picklist file before your reports get processed.  We got
our information from a knowledgebase article at Crystal Decisions.

Bob Holmes


Quote:
> Thank you for your help!  I appreciate you taking the time to give me such
> an answer.

> If anyone else has info on the dreaded "I want a dynamically generated
> picklist parameter" problem, please let us know!



> > Answering the second question first:  Yes, you can offer that choice.  I
> use
> > CR7 and have done this.  I specify my choices when I create the
parameter
> > field, the first one in the list being my default value.  In my record
> > selection formula, I have an If..Then statement like:  If ?Status <>
"ALL"
> > Then {Table.Status} = ?Status Else True
> > You will probably have one of these clauses for each parameter.

> > For the first question:  We use Crystal Enterprise for our users to
access
> > their reports.  I don't remember all of the details, but, we have
created
> > picklist reports that, when processed, create text files which are lists
> of
> > all of the choices that we want to offer to a user.  Our regular reports
> use
> > the picklist text file for the parameter list, rather than hard coding
the
> > list.  Even this method requires that the picklist report be processed
> > regularly, or at least right before a standard report, so that the list
is
> > kept up to date.

> > I'm certain that there must be better ways of doing this, but it
satisfies
> > our needs right now.

> > Bob Holmes



> > > I am sure that these are FAQs, but I can not find them listed anywhere
> and
> > > they are certainly not answered in my copy of the 8.5 user's guide.
Any
> > > help woudl be appreciated:

> > > 1. Is there a way to have the options for a parameter list pulled from
a
> > > data source rather than have them be hard-coded?  (Any tricks like
using
> > > subreports ect...?)

> > > 2. Is there any way of having an "ALL" selection added to your list of
> > > parameter values and have that set as the default value?

> > > GOAL: Develop a report that has multiple parameters whose choices
should
> > be
> > > made froma a distinct lookup of certain fields and allow the user to
> > specify
> > > "ALL" on some or all of the parameters.  (EG: Have the user choose
> > "Status",
> > > "State" and "Type" where Status is a list of all distinct values of
> > statuus
> > > found in a "Status" filed *plus* the default choice of "All" which
would
> > > indicate that the report should not select based upon status at all.
Do
> > the
> > > same for the State and Type fields.)

> > > Thanks again for any help that is available!



Mon, 25 Jul 2005 23:13:27 GMT  
 Two Newbie Parameter Questions
Thanks again.  Amazing that this is not available!  (They can have their
parameter list read froma  text file but not from a database!?!?!)  Wow.


Quote:
> I checked with my co-worker about the picklist.  We used one report to
> create the picklist for others by having the picklist report provide its
> output as a text file.  Our other reports import the picklist within their
> parameter's properties.  If you are using a front-end, you could write
some
> code to update the picklist file before your reports get processed.  We
got
> our information from a knowledgebase article at Crystal Decisions.

> Bob Holmes



> > Thank you for your help!  I appreciate you taking the time to give me
such
> > an answer.

> > If anyone else has info on the dreaded "I want a dynamically generated
> > picklist parameter" problem, please let us know!



> > > Answering the second question first:  Yes, you can offer that choice.
I
> > use
> > > CR7 and have done this.  I specify my choices when I create the
> parameter
> > > field, the first one in the list being my default value.  In my record
> > > selection formula, I have an If..Then statement like:  If ?Status <>
> "ALL"
> > > Then {Table.Status} = ?Status Else True
> > > You will probably have one of these clauses for each parameter.

> > > For the first question:  We use Crystal Enterprise for our users to
> access
> > > their reports.  I don't remember all of the details, but, we have
> created
> > > picklist reports that, when processed, create text files which are
lists
> > of
> > > all of the choices that we want to offer to a user.  Our regular
reports
> > use
> > > the picklist text file for the parameter list, rather than hard coding
> the
> > > list.  Even this method requires that the picklist report be processed
> > > regularly, or at least right before a standard report, so that the
list
> is
> > > kept up to date.

> > > I'm certain that there must be better ways of doing this, but it
> satisfies
> > > our needs right now.

> > > Bob Holmes



> > > > I am sure that these are FAQs, but I can not find them listed
anywhere
> > and
> > > > they are certainly not answered in my copy of the 8.5 user's guide.
> Any
> > > > help woudl be appreciated:

> > > > 1. Is there a way to have the options for a parameter list pulled
from
> a
> > > > data source rather than have them be hard-coded?  (Any tricks like
> using
> > > > subreports ect...?)

> > > > 2. Is there any way of having an "ALL" selection added to your list
of
> > > > parameter values and have that set as the default value?

> > > > GOAL: Develop a report that has multiple parameters whose choices
> should
> > > be
> > > > made froma a distinct lookup of certain fields and allow the user to
> > > specify
> > > > "ALL" on some or all of the parameters.  (EG: Have the user choose
> > > "Status",
> > > > "State" and "Type" where Status is a list of all distinct values of
> > > statuus
> > > > found in a "Status" filed *plus* the default choice of "All" which
> would
> > > > indicate that the report should not select based upon status at all.
> Do
> > > the
> > > > same for the State and Type fields.)

> > > > Thanks again for any help that is available!



Tue, 26 Jul 2005 23:37:13 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. Two newbie questions - please help

2. Newbie : Two database questions

3. Newbie Question - Two forms

4. Two questions from a semi-newbie ...?

5. two newbie questions

6. Two questions from a newbie to VB5...

7. Two More Newbie Questions

8. Newbie Question- switching back and forth between two forms

9. Two newbie scripts questions

10. Two newbie questions, please help

11. Developer, but Newbie to CR, asks a question or two

12. Two Quick questions from a Newbie

 

 
Powered by phpBB® Forum Software