Solved

How to disable Parameter passing window in Crystal Reports

Posted on 2002-04-10
3
136 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
  • 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

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…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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 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…

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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now