Remove textbox if empty

  • Thread starter Thread starter hin87_at_yahoo.com
  • Start date Start date
H

hin87_at_yahoo.com

Hi,

How can I remove a textbox from a report if it's empty or null? I
have a textbox on a group header, if the textboxs doesn't contain
anything, I would get extra spacing between my other headers and
detail.. In FoxPro, all you have to do is check the checkbox for
"Remove line if empty".


Thanks!
 
Did you try setting its Can Shrink property to Yes? Note that, if there are
other controls on the same horizontal level as the textbox, this won't have
an effect.

You also could try using the section's OnFormat property to set it invisible
if its contents are Null or empty string.
 
Back
Top