MoveLayout Property

Microsoft Access Visual Basic

MoveLayout Property

       

The MoveLayout property specifies whether Microsoft Access should move to the next printing location on the page. Read/write Boolean.

expression.MoveLayout

expression   Required. An expression that returns one of the objects in the Applies To list.

Remarks

The MoveLayout property uses the following settings.

Setting Description
True  (Default) The section's Left and Top properties are advanced to the next print location.
False  The section's Left and Top properties are unchanged.

To set this property, specify a macro or event procedure for a section's OnFormat property.

Microsoft Access sets this property to True before each section's Format event.

Example

The following example sets the MoveLayout property for the "Purchase Order" report to its default setting.

Reports("Purchase Order").MoveLayout = True