Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to know whether previous details is suppressed or not

Status
Not open for further replies.

sikar

Programmer
Jun 4, 2003
15
US
i my details section i have a field which i have to show or suppress according to the previous detail record.If the previous details is suppressed then i have to show it else i have to suppress it.please help me out.


 
What is the condition formula that causes the previous detail to be suppressed?

Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Expert's Guide to Formulas / Tips and Tricks / Guide to Crystal in VB
- tek@kenhamady.com
 
In Crystal 8.5, you can test Previous(field), for more than one field if necessary.

Madawc Williams
East Anglia, Great Britain
 
The easiest way to know the suppression status of a record/field is to create a variable that holds the value.

For instance in the formula that originally sets a field to suppressed add

global booleanvar suppressed;

change suppressed to true if the suppression formula derives to true.

You will need to intialize suppressed in the report header, and figure out where to reset it to false..

I think that should give you enough to get started on.

Lisa
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top