Solved

Multiple value parameters in Crystal Enterprise

Posted on 2004-09-03
3
365 Views
Last Modified: 2008-02-26
I am using Enterprise 8.5 and have a report that accepts a parameter for customer ID.  I've found examples for sending parameters via the URL for a single value and range values using PROMPTEX-<promptname>@<subreport>=<value>.  

Single value: <value> = "4"
Range value: <value> = ("2"-"9")

The problem I'm facing is how do you specify multiple values that are not in a range.  I want company ID 1, 4, 8 and 23, not the whole range from 1 to 23.  If you do this:

<value> = "1","4","8","23"

It sounds like the report assumes you are getting values for 4 parameters, not 4 values for one parameter.

Thanks for your help.
0
Comment
Question by:sigmundlikestodrive
  • 2
3 Comments
 
LVL 42

Accepted Solution

by:
frodoman earned 50 total points
ID: 11973110
Looks like what you're doing should work - The proper syntax for passing multiple values to a PROMPTEX-ParameterName parameter through a URL command is:

    promptex-ParamName="1","2","3","4"

From: http://support.businessobjects.com/library/kbase/articles/c2011349.asp

Is the parameter field in your report set up to allow multiple values?

frodoman
0
 

Author Comment

by:sigmundlikestodrive
ID: 11975439
This does work.  I'm not sure if there was something wrong with my parameter field, or I did something wrong with I exported to Enterprise, but it works now.

I also found the syntex

&promptex0="1","2"&promptex1="2","3"

works well.  This shortens the URL and makes is less recognizable to the user (which means it's less likely that they'll mess with it and then call me for support).

Thanks.
0
 
LVL 42

Expert Comment

by:frodoman
ID: 11976309
Glad to help.

0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now