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

supress a letter

Status
Not open for further replies.

martinm7

Programmer
May 23, 2012
2
US
I have a report that needs certain things in teh details section supressed. I am trying to create a mail merge type letter from those details. the issue i am having is it returns letters for all people, inlcuding those i have supressed in teh details section. I can't use teh selection expert due to what I am supressing. Anyone know of how i can get letters for those i need?
 
Assuming the Letters are Grouped by Person, you can use Group suppression. Using same rules as you have for suppressin details, try to find a way to Suppress the Person group too.

Please provided examples of layout and how you are suppressing details.

Ian
 
I tried doing that and none of the letters come up. The letter is in the group footer. I created a formula for all the things i wanted supressed and then in the details section i supressed anything that formula detected as "supress"

below is the supress formula:
if {tablename}="Process Level" and {@Prior Value}in["PL"] and {table name}in ["PL"] then "Supress" else
if {table name}="Status" and {@Prior Value}startswith"L" then "Supress" else
if {table name}="Status" and {@Prior Value}IN ["status"] AND {table name} IN ["status"] THEN "Supress" else
if {tablename}="Status" and {table name}="ZP" then "Supress" else
if {tablename}="Process Level" and {@Prior Value}=" " then "Supress" else
if {table name} in["status"] then "Supress" else
if {table name}<> co and {table name}="Process Level" then "Supress" else
if {table name} <> LastFullMonth then "Supress" else
if {@Prior Value} = {table name} then "Supress" else
if {table name} <> ['Process Level','Status']then "Supress"


the issue is i can't use any of these in the selection expert because of my prior value formula.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top