
March 5th, 2004, 01:33 PM
|
|
Registered User
|
|
Join Date: Mar 2004
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
Suppress printing in crystal report
In the crystal report when I go to print my report or when I go to print preview my report I get “Enter Parameter Value” Dialog box to show up.
In the “Enter Parameter Value Dialog Box” I have Parameter Fields and their associated Discrete Value. In the current document that I’m working on, I have two parameter fields they are: “Account Manager” and “Branch Filter”. The “Account Manager” has discrete values of “All, Name1, Name2, Name3, Name4 … and so on”. The “Branch Filter” has the following discrete values: “BranchName1, BranchName2, BranchName3, … and so on”.
What I would like to do is as follows. I would like to suppress printing report footer section and branch footer section if the following conditions are met:
If (Account Manager != ALL)
(Don’t print branch footer) AND (Don’t print report footer)
Else If (Branch Filter != ALL)
Don’t print report foot
How do I accomplish this goal?
I’m not very familiar with the syntax and pre-defined functions in Crystal Report, if its code that I have to write, could you please set me on the right pass. Maybe forward me an example of code for how similar problem get fixed. If there are any predefined functions which I have to know about to accomplish this goal, please let me know about them.
|