Section Object Members

Access Developer Reference

A form section is part of a form such as a header, footer, or detail section.

Properties

  Name Description
Bb257421.properties(en-us,office.12).gif AlternateBackColor Gets or sets the background color to display on alternate rows of the specified section. Read/write Long.
Bb257421.properties(en-us,office.12).gif Application You can use the Application property to access the active Microsoft Access Application object and its related properties. Read-only Application object.
Bb257421.properties(en-us,office.12).gif AutoHeight Gets or sets whether a section's height is adjusted automatically when controls are resized. Read/write Boolean.
Bb257421.properties(en-us,office.12).gif BackColor Gets or sets the interior color of the specified object. Read/write Long.
Bb257421.properties(en-us,office.12).gif CanGrow Gets or sets whether the specified control automatically adjusts vertically to print or preview all the data the control contains. Read/write Boolean.
Bb257421.properties(en-us,office.12).gif CanShrink Gets or sets whether the specified control automatically adjusts vertically to print or preview all the data the section or control contains. Read/write Boolean.
Bb257421.properties(en-us,office.12).gif Controls Returns the Controls collection of a form, subform, report or section. Read-only Controls.
Bb257421.properties(en-us,office.12).gif DisplayWhen You can use the DisplayWhen property to specify which of a form's sections you want displayed on screen and in print. Read/write Byte.
Bb257421.properties(en-us,office.12).gif EventProcPrefix Gets or sets the prefix portion of an event procedure name. Read/write String.
Bb257421.properties(en-us,office.12).gif ForceNewPage You can use the ForceNewPage property to specify whether form sections detail, footer) or report sections (header, detail, footer) print on a separate page, rather than on the current page. Read/write Byte.
Bb257421.properties(en-us,office.12).gif HasContinued You can use the HasContinued property to determine if part of the current section begins on the previous page. Read/write Boolean.
Bb257421.properties(en-us,office.12).gif Height Gets or sets the height of the specified object in twips. Read/write Integer.
Bb257421.properties(en-us,office.12).gif InSelection You can use the InSelection property to determine or specify whether a control on a form in Design view is selected. Read/write Boolean.
Bb257421.properties(en-us,office.12).gif KeepTogether You can use the KeepTogether property for a section to print a form or report section all on one page. For example, you might have a group of related information that you don't want printed across two pages. The KeepTogether property applies only to form and report sections (except page headers and page footers). Read/write Boolean.
Bb257421.properties(en-us,office.12).gif Name You can use the Name property to specify or determine the string expression that identifies the name of an object. Read/write String.
Bb257421.properties(en-us,office.12).gif NewRowOrCol You can use the NewRowOrCol property to specify whether a section and its associated data is printed in a new row or column within a multiple-column report or multiple-column form. Read/write Byte.
Bb257421.properties(en-us,office.12).gif OnClick Sets or returns the value of the On Click box in the Properties window. Read/write String.
Bb257421.properties(en-us,office.12).gif OnDblClick Sets or returns the value of the On Dbl Click box in the Properties window. Read/write String.
Bb257421.properties(en-us,office.12).gif OnFormat Sets or returns the value of the On Format box in the Properties window of a report section. Read/write String.
Bb257421.properties(en-us,office.12).gif OnMouseDown Sets or returns the value of the On Mouse Down box in the Properties window. Read/write String.
Bb257421.properties(en-us,office.12).gif OnMouseMove Sets or returns the value of the On Mouse Move box in the Properties window. Read/write String.
Bb257421.properties(en-us,office.12).gif OnMouseUp Sets or returns the value of the On Mouse Up box in the Properties window. Read/write String.
Bb257421.properties(en-us,office.12).gif OnPaint Sets or returns the value of the On Paint box in the Properties window of a form or report. Read/write String.
Bb257421.properties(en-us,office.12).gif OnPrint Sets or returns the value of the On Print box in the Properties window of a report section. Read/write String.
Bb257421.properties(en-us,office.12).gif OnRetreat Sets or returns the value of the On Retreat box in the Properties window of a report section. Read/write String.
Bb257421.properties(en-us,office.12).gif Parent Returns the parent object for the specified object. Read-only.
Bb257421.properties(en-us,office.12).gif Properties Returns a reference to a control's Properties collection object. Read-only.
Bb257421.properties(en-us,office.12).gif RepeatSection You can use the RepeatSection property to specify whether a group header is repeated on the next page or column when a group spans more than one page or column. Read/write Boolean.
Bb257421.properties(en-us,office.12).gif SpecialEffect You can use the SpecialEffect property to specify whether special formatting will apply to the specified object. Read/write Byte.
Bb257421.properties(en-us,office.12).gif Tag Stores extra information about a form, report, section, or control needed by a Microsoft Access application. Read/write String.
Bb257421.properties(en-us,office.12).gif Visible Returns or sets whether the object is visible. Read/write Boolean.
Bb257421.properties(en-us,office.12).gif WillContinue Determines if the current section will continue on the following page. Read/write Boolean.

Events

  Name Description
Bb257421.events(en-us,office.12).gif Click The Click event occurs when the user presses and then releases a mouse button over an object.
Bb257421.events(en-us,office.12).gif DblClick The DblClick event occurs when the user presses and releases the left mouse button twice over an object within the double-click time limit of the system.
Bb257421.events(en-us,office.12).gif MouseDown The MouseDown event occurs when the user presses a mouse button.
Bb257421.events(en-us,office.12).gif MouseMove The MouseMove event occurs when the user moves the mouse.
Bb257421.events(en-us,office.12).gif MouseUp The MouseUp event occurs when the user releases a mouse button.
Bb257421.events(en-us,office.12).gif Paint Occurs when the specified section is redrawn.