Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Section length in runtime 1

Status
Not open for further replies.

deulyd

Programmer
Oct 17, 2001
106
CA
Hi all,
is there a way to get a section length in runtime?

thanks
 
You should be able to retrieve the Section Height in the On Print event of the section.

Duane
MS Access MVP
 
Thanks Duane,

but it doesn't seems to work... In my detail section, I have a couple textboxes and a subreport with the canGrow property set to true (that's what make my section higher) and in the format and print event, my section height is always the same. I refer to it like that :

me.section(0).height

Am I doing something wrong?

Thanks
 
I stand corrected. You may need to add the Top and Height properties of the SubReport control to get the section height.

Duane
MS Access MVP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top