Bennie47250
Programmer
Using Crystal version CR Developer version 14.0.4.738 RTM on a DB2 table
I really like how Crystal allow you to Suppress a file but sometimes I have difficulty getting the syntax correct. This is one of those times.
Have a report that prompts for ship to territories, it can also show all records by entering ALL in the prompt. What I want to do is when prompted for a ship to territory to suppress the field if the sales territory if different from the values entered in the prompt.
For example, at the prompt we will enter 193, 233, 234 (for the ship to territory) and the sales territory from some of the records could be 200. For the records that have a sales territory of 200, I want to hide a field. This is easily done using the formula “Not SalesTerritory in ?ShipToArea”
However, when I run the report for ALL, the field is suppressed (as sales <> ship) but I want to see the values when ran for ALL.
Please help with the proper syntax.
Thanks
Bennie
I really like how Crystal allow you to Suppress a file but sometimes I have difficulty getting the syntax correct. This is one of those times.
Have a report that prompts for ship to territories, it can also show all records by entering ALL in the prompt. What I want to do is when prompted for a ship to territory to suppress the field if the sales territory if different from the values entered in the prompt.
For example, at the prompt we will enter 193, 233, 234 (for the ship to territory) and the sales territory from some of the records could be 200. For the records that have a sales territory of 200, I want to hide a field. This is easily done using the formula “Not SalesTerritory in ?ShipToArea”
However, when I run the report for ALL, the field is suppressed (as sales <> ship) but I want to see the values when ran for ALL.
Please help with the proper syntax.
Thanks
Bennie