S
Savvoulidis Iordanis
It seems I can't get any reference to any of the controls of a group header
section. The code hangs on i=0
Private Sub GroupHeader1_Format(Cancel As Integer, FormatCount As Integer)
Dim i As Integer
For i = 0 To Me.Section(acGroupLevel1Header).Controls.Count - 1
MsgBox Me.Section(acGroupLevel1Header).Controls(i).Name
Next
End Sub
Why? This works perfectly on any other section I had to deal with (detail,
page header, group footer...)
I need this in order to reposition the controls of the section, before the
report is displayed/printed
TIA
section. The code hangs on i=0
Private Sub GroupHeader1_Format(Cancel As Integer, FormatCount As Integer)
Dim i As Integer
For i = 0 To Me.Section(acGroupLevel1Header).Controls.Count - 1
MsgBox Me.Section(acGroupLevel1Header).Controls(i).Name
Next
End Sub
Why? This works perfectly on any other section I had to deal with (detail,
page header, group footer...)
I need this in order to reposition the controls of the section, before the
report is displayed/printed
TIA