Guus2005
AWF VIP
- Local time
- Today, 21:09
- Joined
- Jun 26, 2007
- Messages
- 2,642
Hi,
I am creating an application for the international market. In it there is a report created on-the-fly.
In Europe we use papersize A4 and in the US there is a Letter format.
I want to retrieve the dimensions (height, width) of the report automatically.
When printed to a pdf file it shows a gap between the detail section and the footer. I want to eliminate this gap by filling out the last control to the end of the report.
Should i hardcode this value or is there a way to determine the A4/Letter report height automatically? (Not to mention the report width)
Report.Section(acDetail).Height gives me 5952 twips. Which is the size of the canvas on entry. When added several controls the value is 16000 which still leaves a gap between detail and footer. (there is no header)
Any ideas?
Thx!
I am creating an application for the international market. In it there is a report created on-the-fly.
In Europe we use papersize A4 and in the US there is a Letter format.
I want to retrieve the dimensions (height, width) of the report automatically.
When printed to a pdf file it shows a gap between the detail section and the footer. I want to eliminate this gap by filling out the last control to the end of the report.
Should i hardcode this value or is there a way to determine the A4/Letter report height automatically? (Not to mention the report width)
Report.Section(acDetail).Height gives me 5952 twips. Which is the size of the canvas on entry. When added several controls the value is 16000 which still leaves a gap between detail and footer. (there is no header)
Any ideas?
Thx!