E.14. The Forms Collection

The Forms collection contains all of the forms associated with the current database.

E.14.1. Properties of the Form Object

The Form object contains a variety of properties, methods, and events that are listed in the following tables.

PropertyData TypeDescription
ActiveControlControl objectUsed with the Screen object to determine the control that has the focus
AfterDelConfirmStringIndicates which macro, event procedure, or user-defined function runs when the AfterDelConfirm event occurs
AfterFinalRenderStringIndicates which macro, event procedure, or user-defined function runs when the AfterFinalRender event occurs
AfterInsertStringIndicates which macro, event procedure, or user-defined function runs when the AfterInsert event occurs
AfterLayoutStringIndicates which macro, event procedure, or user-defined function runs when the AfterLayout event occurs
AfterRenderStringIndicates which macro, event procedure, or user-defined function runs when the AfterRender event occurs
AfterUpdateStringIndicates which macro, event procedure, or user-defined function runs when the event AfterUpdate event occurs
AllowAdditionsBooleanDetermines whether a user can add a record when using a form
AllowDataSheetViewBooleanDetermines whether the form can be switched to datasheet view
AllowDeletionsBooleanDetermines whether a user can delete a record when using a form
AllowDesignChangesBooleanDetermines whether a user can make changes to the design of a form in design mode only (False ...

Get Access 2003 VBA Programmer's Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.