?
Solved

How to disable Parameter passing window in Crystal Reports

Posted on 2002-04-10
3
Medium Priority
?
142 Views
Last Modified: 2010-05-02
Hi ,
I would like to disable the parameter passing window in crystal reports,as i am already sending the parameters thro the VB programme,i am sending around 7 parameters to the reports during runtime,but still that window appears.
Please find the solution.
0
Comment
Question by:mmachar
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 101

Expert Comment

by:mlmcc
ID: 6931337
WHat code are you using to pass the parameters?

One of the options on the call to CR is to prompt or not for parameters.

mlmcc
0
 
LVL 18

Accepted Solution

by:
mdougan earned 150 total points
ID: 6931521
Someone recently asked the exact same question here.  You could save on points by quickly browsing or searching through the previously asked questions before posting your own.

The answer I gave for that one was that it is not necessary to define parameters in Crystal.  If you do, I think it is difficult, if not impossible to prevent the prompt from appearing.

Instead of parameters, create formula fields.  Then, in your code, just as you'd set the parameters, do:

Report1.Formulas(0) = "Cust_ID=5"
Report1.Action .......

Make sure to remove the parameters from the report, or you will still get the prompt.
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 6932922
I pass parameters routinely without a prompt.  It is simply done through the CR control but each one is slightly different.

mlmcc
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

762 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