Solved

How to disable Parameter passing window in Crystal Reports

Posted on 2002-04-10
3
141 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 50 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

690 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