HasData or IsNull

steffenn

New member
Local time
Today, 15:07
Joined
Jan 14, 2002
Messages
7
I have a subreport in a report. The subreport consists of 2 controls: 'Report Number' (which is not visible and is a link to the main report) and 'Comments'.
Only when 'Comments' has data, I would like it to display in the main report.
I'm not familiar with using the HasData or IsNull expressions. Where would I put this type of expression, in the subreport or report, and in which field? Can someone write out an expression for me that will assist - mine either has too many commas or parenthesis. Thanks.
 
You don't want the record to print at all? Or your report is using up unnecessary space for a field that may not be populated? If the latter, as I suspect, then change the property of the control in the report to can grow and can shrink = yes.
 

Users who are viewing this thread

Back
Top Bottom