Hello,
I have got a report and in the detail section I have got 4 controls (all text boxes) that I would like to manage the visible property as follow:
If PartNo is not null or has data then PartNo visible, DrawingNo not visible, lblDash not visible, ItemNo not visible
If DrawingNo is not null or has data then DrawingNo visible, lblDash visible, ItemNo visible, but If ItemNo is null, lblDash not visible
I have tried to put VBA code on the On Format Event or on the On Print Event of the detail section but cannot make it work.
Thank you in advance for your help.
Regards,
Sylvie
I have got a report and in the detail section I have got 4 controls (all text boxes) that I would like to manage the visible property as follow:
If PartNo is not null or has data then PartNo visible, DrawingNo not visible, lblDash not visible, ItemNo not visible
If DrawingNo is not null or has data then DrawingNo visible, lblDash visible, ItemNo visible, but If ItemNo is null, lblDash not visible
I have tried to put VBA code on the On Format Event or on the On Print Event of the detail section but cannot make it work.
Thank you in advance for your help.
Regards,
Sylvie