- In a report definition, create a zone containing the attribute that could be suppressed, for example COMMENT.
- Select the section and click .
- Add the attribute to be printed, such as COMMENT.
- Define the condition for the zone to be suppressed. For example, suppress the zone if the attribute COMMENT is empty.
- Click .
- Add a new function IsEmpty.
dim columnName as string columnName = Me.FunctionParameters.Item(0) return Me.Record.IsDBNull(columnName)
- Select the zone. Under Suppress, enter the condition
{Fun.IsEmpty("COMMENT ")}