hiding fields in 2 page report

R

Richard

Hi

I have a report header which consists of A and B field. If it the the report
exceeds one page, I have set the fields to NotVisible. I wanted to hide the
fields on page 2 and visible on page 1. So, I wrote this code

If Me.Page >= 2 Then
Me.txtNoofPart.Visible = False
Me.txtUnitFee.Visible = False
Me.txtTotalFee.Visible = False
End If

On preview, the fields shows on page 1 and invisible on page 2 which is what
I wanted. But when I print it out both pages doesn't show the fields.

How do I correct it?

Thanks in advance

Richard

--
 

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