E
Eddy
I use the following code to determine the top of each control that will
print in Groupheader3. I take the Top value of the lowest pirnted control
(in the section) add a number to it and try to set the GroupHeader.Top
value. My attempt is to minimize the size of the GroupHeader to only big
enought to show the visible data. This code is behind the On Format event
of the header.
If IsNull(ctl) Or ctl.Value = 0 Then
ctl.Top = 0
End If
If ctl.Top > strTop Then
strTop = ctl.Top
End If
Next ctl
GroupHeader3.Height = strTop + 0.15
The problem is the GroupHeader Top value does not change when I try to set
it. It remains what it always was. Is this code or my thinking faulty or
maybe the groupheader top value can not be set.
Thanks.
print in Groupheader3. I take the Top value of the lowest pirnted control
(in the section) add a number to it and try to set the GroupHeader.Top
value. My attempt is to minimize the size of the GroupHeader to only big
enought to show the visible data. This code is behind the On Format event
of the header.
If IsNull(ctl) Or ctl.Value = 0 Then
ctl.Top = 0
End If
If ctl.Top > strTop Then
strTop = ctl.Top
End If
Next ctl
GroupHeader3.Height = strTop + 0.15
The problem is the GroupHeader Top value does not change when I try to set
it. It remains what it always was. Is this code or my thinking faulty or
maybe the groupheader top value can not be set.
Thanks.