Solved

How to disable Parameter passing window in Crystal Reports

Posted on 2002-04-10
3
140 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 100

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 100

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

Independent Software Vendors: 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

Suggested Solutions

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

726 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