New Members and Constants

New Members

The following properties, methods, and events have been added to existing objects in Microsoft Office Access 2007.

Application

PropertiesDescription
AssistanceReturns an IAssistance object that represents the Microsoft Office Help Viewer. Read-only.
MacroErrorReturns a MacroError object that contains information about the latest error to occur in a macro. Read-only.
TempVarsReturns the collection of TempVar objects. Read-only TempVars.
MethodsDescription
ColumnHistoryGets the history of values that have been stored in a Memo field.
ExportNavigationPaneSaves the current configuration of the Navigation Pane to an XML file.
HtmlEncodeConverts a string to an HTML-encoded string.
ImportNavigationPaneLoads a saved Navigation Pane configuration from disk.
LoadCustomUILoads XML markup that represents a customized Ribbon.
PlainTextStrips the rich text formatting from a string and returns an unformatted text string.

BoundObjectFrame

PropertiesDescription
BottomPaddingGets or sets the amount of space (in inches) between the object frame and its bottom gridline. Read/write Integer.
GridlineColorGets or sets the color of the gridline for the specified object frame. Read/write Long.
GridlineStyleBottomGets or sets the bottom gridline style of the specified frame. Read/write Byte.
GridlineStyleLeftGets or sets the width of the bottom gridline for the specified frame. Read/write Byte.
GridlineStyleRightGets or sets the right gridline style of the specified frame. Read/write Byte.
GridlineStyleTopGets or sets the top gridline style of the specified frame. Read/write Byte.
GridlineWidthBottomGets or sets the width of the bottom gridline for the specified frame. Read/write Byte.
GridlineWidthLeftGets or sets the width of the left gridline for the specified frame. Read/write Byte.
GridlineWidthRightGets or sets the width of the right gridline for the specified frame. Read/write Byte.
GridlineWidthTopGets or sets the width of the top gridline for the specified frame. Read/write Byte.
HorizontalAnchorGets or sets an AcHorizontalAnchor constant that indicates how the object frame is anchored horizontally within its layout. Read/write.
LayoutReturns the type of layout for the specified object frame. Read-only AcLayoutType.
LayoutIDReturns the unique identifier for the layout that contains the specified object frame. Read-only Long.
LeftPaddingGets or sets the amount of space (in inches) between the object frame and its left gridline. Read/write Integer.
RightPaddingGets or sets the amount of space (in inches) between the object frame and its right gridline. Read/write Integer.
TopPaddingGets or sets the amount of space (in inches) between the object frame and its top gridline. Read/write Integer.
VerticalAnchorGets or sets an AcVerticalAnchor constant that indicates how the specified object frame is anchored vertically within its layout. Read/write.

CheckBox

PropertiesDescription
GridlineColorGets or sets the color of the gridline for the specified check box. Read/write Long.
GridlineStyleBottomGets or sets the bottom gridline style of the specified check box. Read/write Byte.
BottomPaddingGets or sets the amount of space (in inches) between the check box and its bottom gridline. Read/write Integer.
GridlineStyleLeftGets or sets the width of the bottom gridline for the specified check box. Read/write Byte.
GridlineStyleRightGets or sets the right gridline style of the specified check box. Read/write Byte.
GridlineStyleTopGets or sets the top gridline style of the specified check box. Read/write Byte.
GridlineWidthBottomGets or sets the width of the bottom gridline for the specified check box. Read/write Byte.
GridlineWidthLeftGets or sets the width of the left gridline for the specified check box. Read/write Byte.
GridlineWidthRightGets or sets the width of the right gridline for the specified check box. Read/write Byte.
GridlineWidthTopGets or sets the width of the top gridline for the specified check box. Read/write Byte.
HorizontalAnchorGets or sets an AcHorizontalAnchor constant that indicates how the check box is anchored horizontally within its layout. Read/write.
LayoutReturns the type of layout for the specified check box. Read-only AcLayoutType.
LayoutIDReturns the unique identifier for the layout that contains the specified check box. Read-only Long.
LeftPaddingGets or sets the amount of space (in inches) between the check box and its left gridline. Read/write Integer.
RightPaddingGets or sets the amount of space (in inches) between the check box and its right gridline. Read/write Integer.
TopPaddingGets or sets the amount of space (in inches) between the check box and its top gridline. Read/write Integer.
VerticalAnchorGets or sets an AcVerticalAnchor constant that indicates how the specified check box is anchored vertically within its layout. Read/write.

CodeProject

PropertiesDescription
ImportExportSpecificationsReturns a ImportExportSpecifications collection that represents the collection of saved import or export operations for the specified object. Read-only.
IsTrustedGets whether or not macros and Visual Basic for Applications (VBA) code have been enabled in the current project. Read-only Boolean.

ComboBox

PropertiesDescription
AllowValueListEditsGets or sets whether the Edit List Items command is available when the user right-clicks a combo box. Read/write Boolean.
BottomMarginAlong with the LeftMargin, RightMargin, and TopMargin properties, specifies the location of information displayed within a text box control. Read/write Integer.
BottomPaddingGets or sets the amount of space (in inches) between the combo box and its bottom gridline. Read/write Integer.
CanGrowGets or sets whether the specified control automatically adjusts vertically to print or preview all the data the control contains. Read/write Boolean.
CanShrinkGets or sets whether the specified control automatically adjusts vertically to print or preview all the data the control contains. Read/write Boolean.
DisplayAsHyperlinkGets or sets an AcDisplayAsHyperlink constant that specifies whether to display the contents of the specified combo box as a hyperlink. Read/write.
LayoutReturns the type of layout for the specified combo box. Read-only AcLayoutType.
GridlineColorGets or sets the color of the gridline for the specified combo box. Read/write Long.
GridlineStyleBottomGets or sets the bottom gridline style of the specified combo box. Read/write Byte.
GridlineStyleLeftGets or sets the width of the bottom gridline for the specified combo box. Read/write Byte.
GridlineStyleRightGets or sets the right gridline style of the specified combo box. Read/write Byte.
GridlineStyleTopGets or sets the top gridline style of the specified combo box. Read/write Byte.
GridlineWidthBottomGets or sets the width of the bottom gridline for the specified combo box. Read/write Byte.
GridlineWidthLeftGets or sets the width of the left gridline for the specified combo box. Read/write Byte.
GridlineWidthRightGets or sets the width of the right gridline for the specified combo box. Read/write Byte.
GridlineWidthTopGets or sets the width of the top gridline for the specified combo box. Read/write Byte.
HorizontalAnchorGets or sets an AcHorizontalAnchor constant that indicates how the combo box is anchored horizontally within its layout. Read/write.
InheritValueListGets or sets whether a combo box's value list is inherited from its field. Read/write Boolean.
ItemsSelectedYou can use the ItemsSelected property to return a read-only reference to the hidden ItemsSelected collection. This hidden collection can be used to access data in the selected rows of a multiselect combo box control.
LayoutIDReturns the unique identifier for the layout that contains the specified combo box. Read-only Long.
LeftMarginAlong with the TopMargin, RightMargin, and BottomMargin properties, specifies the location of information displayed within a text box control. Read/write Integer.
LeftPaddingGets or sets the amount of space (in inches) between the combo box and its left gridline. Read/write Integer.
ListItemsEditFormGets or sets the name of the form that is displayed when the user clicks Edit List Items. Read/write String.
RightMarginAlong with the TopMargin, Left Margin, and BottomMargin properties, specifies the location of information displayed within a combo box control. Read/write Integer.
RightPaddingGets or sets the amount of space (in inches) between the combo box and its right gridline. Read/write Integer.
SelectedYou can use the Selected property in Visual Basic to determine if an item in a combo box is selected. Read/write Long.
SeparatorCharactersGets or sets the separator displayed between values when the combo box is bound to a multi-valued field. Read/write AcSeparatorCharacters.
ShowOnlyRowSourceValuesGets or sets whether the combo box can display values that aren't specified by the RowSource property. Read/write Boolean.
TopMarginAlong with the LeftMargin, RightMargin, and BottomMargin properties, specifies the location of information displayed within a text box control. Read/write Integer.
TopPaddingGets or sets the amount of space (in inches) between the combo box and its top gridline. Read/write Integer.
VerticalAnchorGets or sets an AcVerticalAnchor constant that indicates how the specified combo box is anchored vertically within its layout. Read/write.

CommandButton

PropertiesDescription
Alignment 
BackStyleYou can use the BackStyle property to specify whether a control will be transparent. Read/write Byte.
BottomPaddingGets or sets the amount of space (in inches) between the button and its bottom gridline. Read/write Integer.
CursorOnHoverGets or sets the type of mouse cursor displayed when the user rests the pointer on a button. Read/write AcCursorOnHover.
GridlineColorGets or sets the color of the gridline for the specified command button. Read/write Long.
GridlineStyleBottomGets or sets the bottom gridline style of the specified button. Read/write Byte.
GridlineStyleLeftGets or sets the width of the bottom gridline for the specified button. Read/write Byte.
GridlineStyleRightGets or sets the right gridline style of the specified button. Read/write Byte.
GridlineStyleTopGets or sets the top gridline style of the specified button. Read/write Byte.
GridlineWidthBottomGets or sets the width of the bottom gridline for the specified button. Read/write Byte.
GridlineWidthLeftGets or sets the width of the left gridline for the specified button. Read/write Byte.
GridlineWidthRightGets or sets the width of the right gridline for the specified button. Read/write Byte.
GridlineWidthTopGets or sets the width of the top gridline for the specified button. Read/write Byte.
HorizontalAnchorGets or sets an AcHorizontalAnchor constant that indicates how the button is anchored horizontally within its layout. Read/write.
LayoutReturns the type of layout for the specified button. Read-only AcLayoutType.
LayoutIDReturns the unique identifier for the layout that contains the specified button. Read-only Long.
LeftPaddingGets or sets the amount of space (in inches) between the button and its left gridline. Read/write Integer.
PictureCaptionArrangement 
RightPaddingGets or sets the amount of space (in inches) between the button and its right gridline. Read/write Integer.
TopPaddingGets or sets the amount of space (in inches) between the button and its top gridline. Read/write Integer.
VerticalAnchorGets or sets an AcVerticalAnchor constant that indicates how the specified button is anchored vertically within its layout. Read/write.

Control

PropertiesDescription
BottomPaddingGets or sets the amount of space (in inches) between the control and its bottom gridline. Read/write Integer.
GridlineColorGets or sets the color of the gridline for the specified control. Read/write Long.
GridlineStyleBottomGets or sets the bottom gridline style of the specified control. Read/write Byte.
GridlineStyleLeftGets or sets the width of the bottom gridline for the specified control. Read/write Byte.
GridlineStyleRightGets or sets the right gridline style of the specified control. Read/write Byte.
GridlineStyleTopGets or sets the top gridline style of the specified control. Read/write Byte.
GridlineWidthBottomGets or sets the width of the bottom gridline for the specified control. Read/write Byte.
GridlineWidthLeftGets or sets the width of the left gridline for the specified control. Read/write Byte.
GridlineWidthRightGets or sets the width of the right gridline for the specified control. Read/write Byte.
GridlineWidthTopGets or sets the width of the top gridline for the specified control. Read/write Byte.
HorizontalAnchorGets or sets an AcHorizontalAnchor constant that indicates how the control is anchored horizontally within its layout. Read/write.
LayoutReturns the type of layout for the specified control. Read-only AcLayoutType.
LayoutIDReturns the unique identifier for the layout that contains the specified control. Read-only Long.
LeftPaddingGets or sets the amount of space (in inches) between the control and its left gridline. Read/write Integer.
NameYou can use the Name property to determine the string expression that identifies the name of an object. Read-only String.
RightPaddingGets or sets the amount of space (in inches) between the control and its right gridline. Read/write Integer.
TopPaddingGets or sets the amount of space (in inches) between the control and its top gridline. Read/write Integer.
VerticalAnchorGets or sets an AcVerticalAnchor constant that indicates how the specified control is anchored vertically within its layout. Read/write.

CurrentProject

PropertiesDescription
ImportExportSpecificationsReturns a ImportExportSpecifications collection that represents the collection of saved import or export operations for the specified object. Read-only.
IsTrustedGets whether or not macros and Visual Basic for Applications (VBA) code have been enabled in the current project. Read-only Boolean.

DoCmd

MethodsDescription
ClearMacroErrorRemoves information about an error that is stored in the MacroError object.
CloseDatabaseCloses the current database.
LockNavigationPaneYou can use the LockNavigationPane action to prevent users from deleting database objects that are displayed in the Navigation Pane.
NavigateToYou can use the NavigateTo method to control the display of database objects in the Navigation Pane.
RunSavedImportExportRrun a saved import or export specification.
SearchForRecordYou can use the SearchForRecord method to search for a specific record in a table, query, form, or report.
SetDisplayedCategoriesSpecifies which categories are displayed under Navigate to Category in the title bar of the Navigation Pane.
SetPropertyThe SetProperty method carries out the SetProperty action in Visual Basic.
SingleStepPauses macro execution and opens the Macro Single Step dialog box.
TransferSharePointListYou can use the TransferSharePointList method to import or link data from a Windows SharePoint Services 3.0 site.

Form

PropertiesDescription
AllowLayoutViewGets or sets whether the specified form can be used in Layout View. Read/write Boolean.
DatasheetAlternateBackColorGets or sets the color displayed on alternate rows of a form's datasheet. Read/write Long.
DisplayOnSharePointSiteGets or sets whether the specified form can be made available as a view on a Windows SharePoint Services 3.0 site. Read/write Byte.
FilterOnLoadGets or sets whether the filter specified by the Filter property is applied when the form is loaded. Read/write Boolean.
FitToScreenGets or sets whether the width of the form is reduced to fit the width of the screen. Read/write Boolean.
NavigationCaptionGets or sets the text that appears to the left of the form's navigation buttons. Read/write String.
OrderByOnLoadGets or sets whether the sorting specified by the OrderBy property is applied when the report is loaded. Read/write Boolean.
RibbonNameGets or set the name of the customized Ribbon to be displayed when the specified form is loaded. Read/write String.
SplitFormDatasheetGets or sets whether the user can edit records in the datasheet when a form is displayed in Split Form view. Read/write AcSplitFormDatasheet.
SplitFormOrientationGets or sets the position of the datasheet relative to the form when the form is displayed in Split Form view. Read/write AcSplitFormOrientation.
SplitFormPrintingGets or sets whether the contents of the form or the datasheet are printed when printing a form displayed in Split Form view. Read/write AcSplitFormPrinting.
SplitFormSizeGets or sets the size in twips of the form when it's displayed in Split Form view. Read/write Long.
SplitFormSplitterBarGets or sets whether the splitter bar is available when the form is displayed in Split Form mode. Read/write Boolean.
SplitFormSplitterBarSaveGets or sets whether the location of the splitter bar is saved when a form that's displayed in Split Form mode is closed. Read/write Boolean.

Image

PropertiesDescription
BottomPaddingGets or sets the amount of space (in inches) between the image control and its bottom gridline. Read/write Integer.
GridlineColorGets or sets the color of the gridline for the specified image control. Read/write Long.
GridlineStyleBottomGets or sets the bottom gridline style of the specified image control. Read/write Byte.
GridlineStyleLeftGets or sets the width of the bottom gridline for the specified image. Read/write Byte.
GridlineStyleRightGets or sets the right gridline style of the specified image control. Read/write Byte.
GridlineStyleTopGets or sets the top gridline style of the specified image control. Read/write Byte.
GridlineWidthBottomGets or sets the width of the bottom gridline for the specified image control. Read/write Byte.
GridlineWidthLeftGets or sets the width of the left gridline for the specified image control. Read/write Byte.
GridlineWidthRightGets or sets the width of the right gridline for the specified image control. Read/write Byte.
GridlineWidthTopGets or sets the width of the top gridline for the specified image control. Read/write Byte.
HorizontalAnchorGets or sets an AcHorizontalAnchor constant that indicates how the image is anchored horizontally within its layout. Read/write.
LayoutReturns the type of layout for the specified image. Read-only AcLayoutType.
LayoutIDReturns the unique identifier for the layout that contains the specified image. Read-only Long.
LeftPaddingGets or sets the amount of space (in inches) between the image control and its left gridline. Read/write Integer.
RightPaddingGets or sets the amount of space (in inches) between the image control and its right gridline. Read/write Integer.
TabIndexYou can use the TabIndex property to specify a control's place in the tab order on a form. Read/write Integer.
TabStopYou can use the TabStop property to specify whether you can use the TAB key to move the focus to a control in Form view. Read/write Boolean.
TopPaddingGets or sets the amount of space (in inches) between the image control and its top gridline. Read/write Integer.
VerticalAnchorGets or sets an AcVerticalAnchor constant that indicates how the specified image is anchored vertically within its layout. Read/write.

Label

PropertiesDescription
BottomPaddingGets or sets the amount of space (in inches) between the label and its bottom gridline. Read/write Integer.
GridlineColorGets or sets the color of the gridline for the specified label. Read/write Long.
GridlineStyleBottomGets or sets the bottom gridline style of the specified label. Read/write Byte.
GridlineStyleLeftGets or sets the width of the bottom gridline for the specified label. Read/write Byte.
GridlineStyleRightGets or sets the right gridline style of the specified label. Read/write Byte.
GridlineStyleTopGets or sets the top gridline style of the specified label. Read/write Byte.
GridlineWidthBottomGets or sets the width of the bottom gridline for the specified label. Read/write Byte.
GridlineWidthLeftGets or sets the width of the left gridline for the specified label. Read/write Byte.
GridlineWidthRightGets or sets the width of the right gridline for the specified label. Read/write Byte.
GridlineWidthTopGets or sets the width of the top gridline for the specified label. Read/write Byte.
HorizontalAnchorGets or sets an AcHorizontalAnchor constant that indicates how the label is anchored horizontally within its layout. Read/write.
LayoutReturns the type of layout for the specified label. Read-only AcLayoutType.
LayoutIDReturns the unique identifier for the layout that contains the specified label. Read-only Long.
LeftPaddingGets or sets the amount of space (in inches) between the label and its left gridline. Read/write Integer.
RightPaddingGets or sets the amount of space (in inches) between the label and its right gridline. Read/write Integer.
TopPaddingGets or sets the amount of space (in inches) between the label and its top gridline. Read/write Integer.
VerticalAnchorGets or sets an AcVerticalAnchor constant that indicates how the specified label is anchored vertically within its layout. Read/write.

Line

PropertiesDescription
HorizontalAnchorGets or sets an AcHorizontalAnchor constant that indicates how the line is anchored horizontally within its layout. Read/write.
VerticalAnchorGets or sets an AcVerticalAnchor constant that indicates how the specified line is anchored vertically within its layout. Read/write.

ListBox

PropertiesDescription
GridlineWidthLeftGets or sets the width of the left gridline for the specified list box. Read/write Byte.
GridlineWidthRightGets or sets the width of the right gridline for the specified list box. Read/write Byte.
AllowValueListEditsGets or sets whether the Edit List Items command is available when the user right-clicks a list box. Read/write Boolean.
BottomPaddingGets or sets the amount of space (in inches) between the list box and its bottom gridline. Read/write Integer.
GridlineColorGets or sets the color of the gridline for the specified list box. Read/write Long.
GridlineStyleBottomGets or sets the bottom gridline style of the specified list box. Read/write Byte.
GridlineStyleLeftGets or sets the width of the bottom gridline for the specified list box. Read/write Byte.
GridlineStyleRightGets or sets the right gridline style of the specified list box. Read/write Byte.
GridlineStyleTopGets or sets the top gridline style of the specified list box. Read/write Byte.
GridlineWidthBottomGets or sets the width of the bottom gridline for the specified list box. Read/write Byte.
GridlineWidthTopGets or sets the width of the top gridline for the specified list box. Read/write Byte.
HorizontalAnchorGets or sets an AcHorizontalAnchor constant that indicates how the list box is anchored horizontally within its layout. Read/write.
InheritValueListGets or sets whether a list box's value list is inherited from its field. Read/write Boolean.
LayoutReturns the type of layout for the specified list box. Read-only AcLayoutType.
LayoutIDReturns the unique identifier for the layout that contains the specified list box. Read-only Long.
LeftPaddingGets or sets the amount of space (in inches) between the list box and its left gridline. Read/write Integer.
ListItemsEditFormGets or sets the name of the form that is displayed when the user clicks Edit List Items. Read/write String.
RightPaddingGets or sets the amount of space (in inches) between the list box and its right gridline. Read/write Integer.
ShowOnlyRowSourceValuesGets or sets whether the list box can display values that aren't specified by the RowSource property. Read/write Boolean.
TopPaddingGets or sets the amount of space (in inches) between the list box and its top gridline. Read/write Integer.
VerticalAnchorGets or sets an AcVerticalAnchor constant that indicates how the specified list box is anchored vertically within its layout. Read/write.

ObjectFrame

PropertiesDescription
BottomPaddingGets or sets the amount of space (in inches) between the object frame and its bottom gridline. Read/write Integer.
GridlineStyleRightGets or sets the right gridline style of the specified frame. Read/write Byte.
GridlineColorGets or sets the color of the gridline for the specified object frame. Read/write Long.
GridlineStyleBottomGets or sets the bottom gridline style of the specified frame. Read/write Byte.
GridlineStyleLeftGets or sets the width of the bottom gridline for the specified frame. Read/write Byte.
GridlineStyleTopGets or sets the top gridline style of the specified frame. Read/write Byte.
GridlineWidthBottomGets or sets the width of the bottom gridline for the specified frame. Read/write Byte.
GridlineWidthLeftGets or sets the width of the left gridline for the specified frame. Read/write Byte.
GridlineWidthRightGets or sets the width of the right gridline for the specified frame. Read/write Byte.
GridlineWidthTopGets or sets the width of the top gridline for the specified frame. Read/write Byte.
HorizontalAnchorGets or sets an AcHorizontalAnchor constant that indicates how the object frame is anchored horizontally within its layout. Read/write.
LayoutReturns the type of layout for the specified object frame. Read-only AcLayoutType.
LayoutIDReturns the unique identifier for the layout that contains the specified object frame. Read-only Long.
LeftPaddingGets or sets the amount of space (in inches) between the object frame and its left gridline. Read/write Integer.
RightPaddingGets or sets the amount of space (in inches) between the object frame and its right gridline. Read/write Integer.
TopPaddingGets or sets the amount of space (in inches) between the object frame and its top gridline. Read/write Integer.
VerticalAnchorGets or sets an AcVerticalAnchor constant that indicates how the specified object frame is anchored vertically within its layout. Read/write.

OptionButton

PropertiesDescription
BottomPaddingGets or sets the amount of space (in inches) between the option button and its bottom gridline. Read/write Integer.
GridlineColorGets or sets the color of the gridline for the specified option button. Read/write Long.
GridlineStyleBottomGets or sets the bottom gridline style of the specified option button. Read/write Byte.
GridlineStyleLeftGets or sets the width of the bottom gridline for the specified option button. Read/write Byte.
GridlineStyleRightGets or sets the right gridline style of the specified option button. Read/write Byte.
GridlineStyleTopGets or sets the top gridline style of the specified option button. Read/write Byte.
GridlineWidthBottomGets or sets the width of the bottom gridline for the specified option button. Read/write Byte.
GridlineWidthLeftGets or sets the width of the left gridline for the specified option button. Read/write Byte.
GridlineWidthRightGets or sets the width of the right gridline for the specified option button. Read/write Byte.
GridlineWidthTopGets or sets the width of the top gridline for the specified option button. Read/write Byte.
HorizontalAnchorGets or sets an AcHorizontalAnchor constant that indicates how the option button is anchored horizontally within its layout. Read/write.
LayoutReturns the type of layout for the specified option button. Read-only AcLayoutType.
LayoutIDReturns the unique identifier for the layout that contains the specified option button. Read-only Long.
LeftPaddingGets or sets the amount of space (in inches) between the option button and its left gridline. Read/write Integer.
RightPaddingGets or sets the amount of space (in inches) between the option button and its right gridline. Read/write Integer.
TopPaddingGets or sets the amount of space (in inches) between the option button and its top gridline. Read/write Integer.
VerticalAnchorGets or sets an AcVerticalAnchor constant that indicates how the specified option button is anchored vertically within its layout. Read/write.

OptionGroup

PropertiesDescription
HorizontalAnchorGets or sets an AcHorizontalAnchor constant that indicates how the option group is anchored horizontally within its layout. Read/write.
VerticalAnchorGets or sets an AcVerticalAnchor constant that indicates how the specified option group is anchored vertically within its layout. Read/write.

Rectangle

PropertiesDescription
HorizontalAnchorGets or sets an AcHorizontalAnchor constant that indicates how the rectangle is anchored horizontally within its layout. Read/write.
VerticalAnchorGets or sets an AcVerticalAnchor constant that indicates how the specified rectangle is anchored vertically within its layout. Read/write.

Report

PropertiesDescription
AllowLayoutViewGets or sets whether the specified report can be used in Layout View. Read/write Boolean.
AllowReportViewGets or sets whether the user is allowed to enter Report view while using the specified report. Read/write Boolean.
CurrentViewYou can use the CurrentView property to determine how a report is currently displayed. Read/write Integer.
CycleYou can use the Cycle property to specify what happens when you press the TAB key and the focus is in the last control on a report. Read/write Byte.
DefaultViewYou can use the DefaultView property to specify the opening view of a report. Read/write Byte.
DisplayOnSharePointSiteGets or sets whether the specified report can be made available as a view on a Windows SharePoint Services 3.0 site. Read/write Byte.
FilterOnLoadGets or sets whether the filter specified by the Filter property is applied when the report is loaded. Read/write Boolean.
FitToPageGets or sets whether the width of the specified report is sized to automatically fit the page. Read/write Boolean.
MouseWheelReturns or sets a String indicating which macro, event procedure, or user-defined function runs when the MouseWheel event occurs. Read/write.
KeyPreviewYou can use the KeyPreview property to specify whether the report-level keyboard event procedures are invoked before a control's keyboard event procedures. Read/write Boolean.
OnApplyFilterSets or returns the value of the On Apply Filter box in the Properties window of a report. Read/write String.
OnClickSets or returns the value of the On Click box in the Properties window. Read/write String.
OnCurrentSets or returns the value of the On Current box in the Properties window of a report. Read/write String.
OnDblClickSets or returns the value of the On Dbl Click box in the Properties window. Read/write String.
OnFilterSets or returns the value of the On Filter box in the Properties window of a report. Read/write String.
OnGotFocusSets or returns the value of the On Got Focus box in the Properties window of the specified report. Read/write String.
OnKeyDownSets or returns the value of the On Key Down box in the Properties window. Read/write String.
OnKeyPressSets or returns the value of the On Key Press box in the Properties window. Read/write String.
OnKeyUpSets or returns the value of the On Key Up box in the Properties window. Read/write String.
OnLoadSets or returns the value of the On Load box in the Properties window of a report. Read/write String.
OnLostFocusSets or returns the value of the On Lost Focus box in the Properties window of the specified report. Read/write String.
OnMouseDownSets or returns the value of the On Mouse Down box in the Properties window. Read/write String.
OnMouseMoveSets or returns the value of the On Mouse Move box in the Properties window. Read/write String.
OnMouseUpSets or returns the value of the On Mouse Up box in the Properties window. Read/write String.
OnResizeSets or returns the value of the On Resize box in the Properties window of a form. Read/write String.
OnTimerSets or returns the value of the On Timer box in the Properties window of a form. Read/write String.
OnUnloadSets or returns the value of the On Unload box in the Properties window of a form. Read/write String.
OrderByOnLoadGets or sets whether the sorting specified by the OrderBy property is applied when the report is loaded. Read/write Boolean.
RibbonNameGets or set the name of the customized Ribbon to be displayed when the specified report is loaded. Read/write String.
ScrollBarsGets or sets whether scroll bars appear on a report. Read/write Byte.
ShowPageMarginsGets or sets whether page margins are displayed when the specified report is in Layout view. Read/write Boolean.
TimerIntervalYou can use the TimerInterval property to specify the interval, in milliseconds, between Timer events on a report. Read/write Long.
MethodsDescription
RequeryThe Requery method updates the data underlying the specified report by requerying the source of data for the control.
EventsDescription
ApplyFilterOccurs when a filter is applied to a report.
MouseMoveThe MouseMove event occurs when the user moves the mouse.
ClickThe Click event occurs when the user presses and then releases a mouse button over a report.
CurrentOccurs when the focus moves to a record, making it the current record, or when the report is refreshed or requeried.
DblClickThe DblClick event occurs when the user presses and releases the left mouse button twice over an report within the double-click time limit of the system.
FilterOccurs when the user opens a filter window by clicking Advanced Filter/Sort.
MouseUpThe MouseUp event occurs when the user releases a mouse button.
GotFocusThe GotFocus event occurs when the report receives the focus.
MouseWheelOccurs when the user rolls the mouse wheel in Report view or Layout view.
KeyDownThe KeyDown event occurs when the user presses a key while a report has the focus. This event also occurs if you send a keystroke to a report by using the SendKeys action in a macro or the SendKeys statement in Visual Basic.
KeyPressThe KeyPress event occurs when the user presses and releases a key or key combination that corresponds to an ANSI code while a report has the focus. This event also occurs if you send an ANSI keystroke to a report by using the SendKeys action in a macro or the SendKeys statement in Visual Basic.
KeyUpThe KeyUp event occurs when the user releases a key while a report has the focus. This event also occurs if you send a keystroke to a report by using the SendKeys action in a macro or the SendKeys statement in Visual Basic.
LoadOccurs when a report is opened and its records are displayed.
LostFocusThe LostFocus event occurs when the specified object loses the focus.
MouseDownThe MouseDown event occurs when the user presses a mouse button.
ResizeThe Resize event occurs when a report is opened and whenever the size of a report changes.
TimerThe Timer event occurs for a report at regular intervals as specified by the report's TimerInterval property.
UnloadThe Unload event occurs after a report is closed but before it's removed from the screen.

Section

PropertiesDescription
AlternateBackColorGets or sets the background color to display on alternate rows of the specified section. Read/write Long.
AutoHeightGets or sets whether a section's height is adjusted automatically when controls are resized. Read/write Boolean.
OnPaintSets or returns the value of the On Paint box in the Properties window of a form or report. Read/write String.
EventsDescription
PaintOccurs when the specified section is redrawn.

SubForm

PropertiesDescription
BottomPaddingGets or sets the amount of space (in inches) between the subform and its bottom gridline. Read/write Integer.
FilterOnEmptyMasterGets or sets whether all records are displayed when the subform's master field is Null. Read/write Boolean.
GridlineColorGets or sets the color of the gridline for the specified subform. Read/write Long.
GridlineStyleBottomGets or sets the bottom gridline style of the specified subform. Read/write Byte.
GridlineStyleLeftGets or sets the width of the bottom gridline for the specified subform. Read/write Byte.
GridlineStyleRightGets or sets the right gridline style of the specified subform. Read/write Byte.
GridlineStyleTopGets or sets the top gridline style of the specified subform. Read/write Byte.
GridlineWidthBottomGets or sets the width of the bottom gridline for the specified subform. Read/write Byte.
GridlineWidthLeftGets or sets the width of the left gridline for the specified subform. Read/write Byte.
GridlineWidthRightGets or sets the width of the right gridline for the specified subform. Read/write Byte.
GridlineWidthTopGets or sets the width of the top gridline for the specified subform. Read/write Byte.
HorizontalAnchorGets or sets an AcHorizontalAnchor constant that indicates how the subform is anchored horizontally within its layout. Read/write.
LayoutReturns the type of layout for the specified subform. Read-only AcLayoutType.
LayoutIDReturns the unique identifier for the layout that contains the specified subform. Read-only Long.
LeftPaddingGets or sets the amount of space (in inches) between the subform and its left gridline. Read/write Integer.
RightPaddingGets or sets the amount of space (in inches) between the subform and its right gridline. Read/write Integer.
TopPaddingGets or sets the amount of space (in inches) between the subform and its top gridline. Read/write Integer.
VerticalAnchorGets or sets an AcVerticalAnchor constant that indicates how the specified subform is anchored vertically within its layout. Read/write.

TabControl

PropertiesDescription
HorizontalAnchorGets or sets an AcHorizontalAnchor constant that indicates how the tab control is anchored horizontally within its layout. Read/write.
VerticalAnchorGets or sets an AcVerticalAnchor constant that indicates how the specified tab control is anchored vertically within its layout. Read/write.

TextBox

PropertiesDescription
BottomPaddingGets or sets the amount of space (in inches) between the text box and its bottom gridline. Read/write Integer.
DisplayAsHyperlinkGets or sets an AcDisplayAsHyperlink constant that specifies whether to display the contents of the specified text box as a hyperlink. Read/write.
GridlineColorGets or sets the color of the gridline for the specified text box. Read/write Long.
GridlineStyleBottomGets or sets the bottom gridline style of the specified text box. Read/write Byte.
GridlineStyleLeftGets or sets the width of the bottom gridline for the specified text box. Read/write Byte.
GridlineStyleRightGets or sets the right gridline style of the specified text box. Read/write Byte.
GridlineStyleTopGets or sets the top gridline style of the specified text box. Read/write Byte.
GridlineWidthBottomGets or sets the width of the bottom gridline for the specified text box. Read/write Byte.
GridlineWidthLeftGets or sets the width of the left gridline for the specified text box. Read/write Byte.
GridlineWidthRightGets or sets the width of the right gridline for the specified text box. Read/write Byte.
GridlineWidthTopGets or sets the width of the top gridline for the specified text box. Read/write Byte.
HorizontalAnchorGets or sets an AcHorizontalAnchor constant that indicates how the text box is anchored horizontally within its layout. Read/write.
LayoutReturns the type of layout for the specified text box. Read-only AcLayoutType.
LayoutIDReturns the unique identifier for the layout that contains the specified text box. Read-only Long.
LeftPaddingGets or sets the amount of space (in inches) between the text box and its left gridline. Read/write Integer.
RightPaddingGets or sets the amount of space (in inches) between the text box and its right gridline. Read/write Integer.
ShowDatePicker 
TextFormatGets or sets whether rich text is displayed in the specified text box. Read/write AcTextFormat.
TopPaddingGets or sets the amount of space (in inches) between the text box and its top gridline. Read/write Integer.
VerticalAnchorGets or sets an AcVerticalAnchor constant that indicates how the specified text box is anchored vertically within its layout. Read/write.

ToggleButton

PropertiesDescription
BottomPaddingGets or sets the amount of space (in inches) between the toggle button and its bottom gridline. Read/write Integer.
GridlineColorGets or sets the color of the gridline for the specified toggle button. Read/write Long.
GridlineStyleBottomGets or sets the bottom gridline style of the specified toggle button. Read/write Byte.
GridlineStyleLeftGets or sets the width of the bottom gridline for the specified toggle button. Read/write Byte.
GridlineStyleRightGets or sets the right gridline style of the specified toggle button. Read/write Byte.
GridlineStyleTopGets or sets the top gridline style of the specified toggle button. Read/write Byte.
GridlineWidthBottomGets or sets the width of the bottom gridline for the specified toggle button. Read/write Byte.
GridlineWidthLeftGets or sets the width of the left gridline for the specified toggle button. Read/write Byte.
GridlineWidthRightGets or sets the width of the right gridline for the specified toggle button. Read/write Byte.
GridlineWidthTopGets or sets the width of the top gridline for the specified toggle button. Read/write Byte.
HorizontalAnchorGets or sets an AcHorizontalAnchor constant that indicates how the toggle button is anchored horizontally within its layout. Read/write.
LayoutReturns the type of layout for the specified toggle button. Read-only AcLayoutType.
LayoutIDReturns the unique identifier for the layout that contains the specified toggle button. Read-only Long.
LeftPaddingGets or sets the amount of space (in inches) between the toggle button and its left gridline. Read/write Integer.
RightPaddingGets or sets the amount of space (in inches) between the toggle button and its right gridline. Read/write Integer.
TopPaddingGets or sets the amount of space (in inches) between the toggle button and its top gridline. Read/write Integer.
VerticalAnchorGets or sets an AcVerticalAnchor constant that indicates how the specified toggle button is anchored vertically within its layout. Read/write.

New Constants

The following constants have been added to existing enumerations in Microsoft Office Access 2007.

EnumerationNew Constants
AcCommand
acCmdAddFromOutlook
acCmdAnchorBottomLeft
acCmdAnchorBottomRight
acCmdAnchorBottomStretchAcross
acCmdAnchorStretchAcross
acCmdAnchorStretchDown
acCmdAnchorStretchDownAcross
acCmdAnchorStretchDownRight
acCmdAnchorTopLeft
acCmdAnchorTopRight
acCmdApplyAutoFormat1
acCmdApplyAutoFormat10
acCmdApplyAutoFormat11
acCmdApplyAutoFormat12
acCmdApplyAutoFormat13
acCmdApplyAutoFormat14
acCmdApplyAutoFormat15
acCmdApplyAutoFormat16
acCmdApplyAutoFormat17
acCmdApplyAutoFormat18
acCmdApplyAutoFormat19
acCmdApplyAutoFormat2
acCmdApplyAutoFormat20
acCmdApplyAutoFormat21
acCmdApplyAutoFormat22
acCmdApplyAutoFormat23
acCmdApplyAutoFormat24
acCmdApplyAutoFormat25
acCmdApplyAutoFormat3
acCmdApplyAutoFormat4
acCmdApplyAutoFormat5
acCmdApplyAutoFormat6
acCmdApplyAutoFormat7
acCmdApplyAutoFormat8
acCmdApplyAutoFormat9
acCmdBrowseSharePointList
acCmdCloseAll
acCmdCloseDatabase
acCmdCollectDataViaEmail
acCmdControlMarginsMedium
acCmdControlMarginsNarrow
acCmdControlMarginsNone
acCmdControlMarginsWide
acCmdControlPaddingMedium
acCmdControlPaddingNarrow
acCmdControlPaddingNone
acCmdControlPaddingWide
acCmdDeleteSharePointList
acCmdDiscardChanges
acCmdDiscardChangesAndRefresh
acCmdEditListItems
acCmdExportAccess
acCmdExportdBase
acCmdExportExcel
acCmdExportFixedFormat
acCmdExportHTML
acCmdExportLotus
acCmdExportODBC
acCmdExportParadox
acCmdExportRTF
acCmdExportSharePointList
acCmdExportSnapShot
acCmdExportText
acCmdExportXML
acCmdFieldTemplates
acCmdFilterMenu
acCmdHideMessageBar
acCmdImportAttachAccess
acCmdImportAttachdBase
acCmdImportAttachExcel
acCmdImportAttachHTML
acCmdImportAttachLotus
acCmdImportAttachODBC
acCmdImportAttachOutlook
acCmdImportAttachParadox
acCmdImportAttachSharePointList
acCmdImportAttachText
acCmdImportAttachXML
acCmdInsertLogo
acCmdInsertTitle
acCmdLayoutGridlinesBoth
acCmdLayoutGridlinesBottom
acCmdLayoutGridlinesCrossHatch
acCmdLayoutGridlinesHorizontal
acCmdLayoutGridlinesNone
acCmdLayoutGridlinesOutline
acCmdLayoutGridlinesTop
acCmdLayoutGridlinesVertical
acCmdLayoutView
acCmdMacroAllActions
acCmdMacroArguments
acCmdManageAttachments
acCmdManageReplies
acCmdModifySharePointList
acCmdModifySharePointListAlerts
acCmdModifySharePointListPermissions
acCmdModifySharePointListWorkflow
acCmdMoveColumnCellDown
acCmdMoveColumnCellUp
acCmdNewObjectBlankForm
acCmdNewObjectBlankReport
acCmdNewObjectContinuousForm
acCmdNewObjectDatasheetForm
acCmdNewObjectDesignForm
acCmdNewObjectDesignQuery
acCmdNewObjectDesignReport
acCmdNewObjectDesignTable
acCmdNewObjectLabelsReport
acCmdNewObjectModalForm
acCmdNewObjectPivotChart
acCmdNewObjectPivotTable
acCmdNewObjectSplitForm
acCmdPasteFormatting
acCmdPrintSelection
acCmdPublishDatabase
acCmdPublishFixedFormat
acCmdRefreshData
acCmdRefreshSharePointList
acCmdRemoveAllFilters
acCmdRemoveAllSorts
acCmdRemoveFilterFromCurrentColumn
acCmdRemoveFromLayout
acCmdReportView
acCmdSaveAsOutlookContact
acCmdSavedExports
acCmdSavedImports
acCmdSelectEntireColumn
acCmdSelectEntireRow
acCmdSetCaption
acCmdShareOnSharePoint
acCmdSharePointSiteRecycleBin
acCmdShowColumnHistory
acCmdShowDatePicker
acCmdShowMessageBar
acCmdStackedLayout
acCmdStartNewWorkflow
acCmdSynchronize
acCmdTabularLayout
acCmdToggleCacheListData
acCmdToggleOffline
acCmdWorkflowTasks
AcControlType
acAttachment
AcCurrentView
acCurViewLayout
acCurViewReportBrowse
AcDataObjectType
acDataReport
AcDefView
acDefViewSplitForm
AcExportXMLOtherFlags
acExportAllTableAndFieldProperties
AcFileFormat
acFileFormatAccess2007
AcFormView
acLayout
AcSpreadSheetType
acSpreadsheetTypeExcel12
acSpreadsheetTypeExcel12Xml
AcView
acViewLayout
acViewReport


Tags :


Page view tracker