E.11. The DataAccessPage Object
As its name implies, this object refers to a DataAccessPage.
E.11.1. Properties of the DataAccessPage Object
The properties of a DataAccessPage are listed in the following table.
Property | Data Type | Description |
---|
Application | Application object | Used to access the currently active Application object |
ConnectionString | String | Returns the base ConnectionString for the DataAccessPage |
CurrentView | Integer (Design View = 0, Page View = 1) | Determines how a DataAccessPage is displayed |
Document | Document object | Used to access the Internet Explorer Dynamic HTML document object for HTML pages |
MailEnvelope | msoMailEnvelope object | Represents the e-mail header for a data access page |
MSODSC | DataSourceControl object | Returns a DataSourceControl object for the current DataAccessPage |
Name | String | Specifies the name of the DataAccessPage object |
Parent | Object | Returns the parent object of the DataAccessPage (the Application object) |
RemovePersonalInformation | Boolean | True if personal information about the user is not stored in the DataAccessPage object, false if personal information is stored in the DataAccessPage object |
Visible | Boolean | False if the DataAccessPage object is minimized |
WebOptions | WebOptions object | Used to represent the WebOptions object |
WindowHeight | Long | Returns or sets the height of the DataAccessPage object in twips |
WindowWidth | Long | Returns or sets the width of the DataAccessPage object in twips |
The DataAccessPage object has one method, the ApplyTheme method. This method takes one argument, the ThemeName. This allows you to specify a Microsoft Office Theme for your data access page.