• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 151
  • Last Modified:

How to disable Parameter passing window in Crystal Reports

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
mmachar
Asked:
mmachar
  • 2
1 Solution
 
mlmccCommented:
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
 
mdouganCommented:
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
 
mlmccCommented:
I pass parameters routinely without a prompt.  It is simply done through the CR control but each one is slightly different.

mlmcc
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now