O'Reilly logo

Access™ 2007 VBA Programmer's Reference by Armen Stein, Geoffrey Griffith, Rob Cooper, Teresa Hennig

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

G.7. The Form Object

The Forms collection contains all of the open forms associated with the current database. Forms in the database that are not currently open are not in this collection.

G.7.1. Form Object Properties

The Form object has a variety of properties, which are described in the following table.

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.
AllowEditsBooleanDetermines whether a user can edit save records ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required