can shrink on report header

G

Guest

Hi Guys,

I have on my invoice form the billing lines in a column, they are set to can
grow = true. However, the report header does not shrink as well and my
detail header in the report header moves up 1 line for every line that is
shrunk. There seems to be no can shrink property in the report header. Does
anybody have a solution to this problem.

Thanks,
David
 
G

Guest

Hey Allen:

Thanks for replying...
I meant the page header, sorry for miscommuncating.

I have tried to do a workaround, but it did not work. I tried to create a
function in the onformat event in the pageheader like so

For Each ctl In Me.Controls
If ctl.Tag = "DetailHeader" Then
i = i + 1
If i = 1 Then ht = ctl.Properties("top")
ctl.Properties("top") = ht + 5

End If
Next ctl

I grouped the controls i wanted to move and called them "DetailHeader" on
the report. I experimented by trying to increment the top position by 5 and
it threw an error " there is not enough room in this section to move this
control" or something like that.

Any other suggestions?
 
A

Allen Browne

You could create a group header to use instead of the Page Header. Set its
Repeat Section property to Yes, and it turns up at the top of each page. The
group header can shrink and grow.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top