randommetalguy
Registered User.
- Local time
- Today, 10:48
- Joined
- Nov 25, 2008
- Messages
- 52
Hey guys,
I have a three page report that I am trying to print. But, if the user does not want a diagram with the report then I set the diagram to visible.false.
With all three pages (including diagram) the detail section of the report has a height of about 22". If there are only two pages (without the diagram) the height is only 15". The problem is that it still tries to display the last page of the diagram as blank.
If DLookup("Diagram", "table") = "Yes" Then
Me.Detail.Height = 31320
Else
Me.Detail.Height = 21960
End If
Height is in TWIPS but it is not resizing automatically like I had hoped. Any suggestions?
I have a three page report that I am trying to print. But, if the user does not want a diagram with the report then I set the diagram to visible.false.
With all three pages (including diagram) the detail section of the report has a height of about 22". If there are only two pages (without the diagram) the height is only 15". The problem is that it still tries to display the last page of the diagram as blank.
If DLookup("Diagram", "table") = "Yes" Then
Me.Detail.Height = 31320
Else
Me.Detail.Height = 21960
End If
Height is in TWIPS but it is not resizing automatically like I had hoped. Any suggestions?