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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change height val of detail section

Status
Not open for further replies.

Waynest

Programmer
Jun 22, 2000
321
GB
Hi

SQL 7 / Access XP

I am trying to change the height value of the detail section of a subform at runtime.

I thought this would work but it doesn't:

Forms!FirmPlanning!subFirmPlanning.Detail.Height = 0.4

I get 'Object doesn't support this property or method'

Where am I going wrong?

Thanks
Wayne
 
Wayne,
Try using the Section property.
Example:
Code:
Forms!FormName.Section(acDetail).Height = (twips)

I am not sure if it takes size in inches or twips, but I think it is twips(1440= 1 inch)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top