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.
Property | Data Type | Description |
---|---|---|
ActiveControl | Control object | Used with the Screen object to determine the control that has the focus. |
AfterDelConfirm | String | Indicates which macro, event procedure, or user-defined function runs when the AfterDelConfirm event occurs. |
AfterFinalRender | String | Indicates which macro, event procedure, or user-defined function runs when the AfterFinalRender event occurs. |
AfterInsert | String | Indicates which macro, event procedure, or user-defined function runs when the AfterInsert event occurs. |
AfterLayout | String | Indicates which macro, event procedure, or user-defined function runs when the AfterLayout event occurs. |
AfterRender | String | Indicates which macro, event procedure, or user-defined function runs when the AfterRender event occurs. |
AfterUpdate | String | Indicates which macro, event procedure, or user-defined function runs when the event AfterUpdate event occurs. |
AllowAdditions | Boolean | Determines whether a user can add a record when using a form. |
AllowDataSheetView | Boolean | Determines whether the form can be switched to datasheet view. |
AllowDeletions | Boolean | Determines whether a user can delete a record when using a form. |
AllowEdits | Boolean | Determines whether a user can edit save records ... |
Get Access™ 2007 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.