I have been given the code below which works as advertised in restricting textboxes in a report to boxes which have text in them.
Four mini questions: what is formatcount in plain english please
and how does it operate in relation to sections and
what does section (0) mean?
what would section (1) mean?
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
Dim ctl As Control
For Each ctl In Me.Section(0).Controls
ctl.Visible = Not IsNull(ctl)