field captions

M

mita55

when creating a report, data in some fields may not be available. how do I
make the field headings (captions) disappear (hide) when there is no data for
a field?
 
C

Chris Reveille

Use this code in the Format event of the section
containg the controls:

Me.yourtextbox.Visible = Not IsNull(Me.yourtextbox)

Chris
 
Top