Get Height of Sub-Report

J

Josh Burkard

Hello

Is it posible to get the effective Height of a Sub-Report?

Best Regards
Josh
 
S

Stefan Hoffmann

hi Josh,

Josh said:
Is it posible to get the effective Height of a Sub-Report?
The sub report control must be rendered, before you can read its height.
I'm not sure, but the following may work:

Dim Height As Long

DoCmd.OpenReport REPORT , , , , acHidden
Height = Reports(REPORT).Report!SubReportControl.Height
DoCmd.Close acReport, REPORT


mfG
--> stefan <--
 

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