<< IF linestatus is NULL THEN PROPERTY idstatus VISIBLE 'FALSE' ENDIF RETURN >>
What is "linestatus". If it's a column name, the report does not have access to the column names. You must create a variable rLineStatus = (LineStatus) and change your code to: IF rLineStatus IS NULL THEN Once, you do that you might possibly have a second problem. I'm not sure whether the detail line variables will already have been calculated when the detail BEFORE GENERATE EEP fires. If that does turn out to be a problem what you need to do is to create an extra break level on the detail line and move the calculation of the variable to the new header, keeping your visibility code in the detail BEFORE GENERATE. That will guarantee that the variable is correctly calculated. -- Larry

