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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

suppress in multiple records

Status
Not open for further replies.

ulag

Programmer
Sep 4, 2001
23
0
0
US
I need to suppress section if the ruleid exist
ruleid has multiple records (derived from another table, other than real data table)

ruleid
2
7
11
25

any help?
 
I'm not sure I understand the question. Also it helps to say which version of Crystal, since extra features keep being added.

If you want the "MAIN" records to be suppressed whenever there is a linked "ruleid" record, that's not hard to do. Make a 'left outer' link from "MAIN" to "ruleid". Then check some field in "ruleid" and suppress the section when it is found. For Crystal 8.5, something like
Code:
not isnull {ruleid.accno}
in the suppress formula for the section.

Madawc Williams (East Anglia)
 
Hi Madawc,

Thanks for your reply. I use CR10.
I have suppressing table (separate one)
which has list of ruleid to supress
So the ruleid are in list.

For each section, I assigned as ruleid. If the ruleid is presnt in table, I have to suppress. I mean I have to supress detail section (2, 7,11,25) or (b,g,k, aa)
 
So create a formula, including your various rules. Use that for suppressing.

If you don't say 'if' in your formula, it becomes a boolian and can be tested for true/false. Useful for multiple choices.

Madawc Williams (East Anglia)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top