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

need to hide a group that is missing specific data

Status
Not open for further replies.

computek353

Technical User
Feb 21, 2002
29
US
I need to hide the whole group when it is missing specific data. I can hide it if it is missing all of the data but can't seem to selectively hide it.

Help!!!
 
In the section expert, you can specify a suppress condition on a group.


 
Ok I see that but how do I test whether any text is in a field or not?
 
Use a formula that counts the occurances of the thing you want to be missing.

For example, you want groups that don't have BOB not to be shown.
{@BOB?}
If {field} ="BOB" then 1

Insert the field then perform a summary operation summing the occurances of BOB. Then go to your group select expert and have it only report on groups where Sum ({@BOB?}, {the.group) <> 0.00

You can then delete the {@BOB?} field and the summary field from your canvas. Mike

 
in the conditional suppress for both the header/detail/footer sections put the formula

isnull({Table.textfield}) or length(trim({Table.textfield})) = 0


this atches situations when the field has a null value or a blank space
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top