FancyPrairie
Programmer
Using Access 2000
I have a menu bar named MMC_Edit. This menu bar contains the following items: File Edit View. Under View are 2 items: "Archived Data" and "Live Data". When the form is first opened I want to check the menu item "Live Data".
What is the syntax for this? (I know it's the state property, just don't know the syntax to get to it.)
I have tryed:
Dim cbc as object
Set cbc = CommandBars("MMC_Edit"
.Controls("View"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
and have tryed many other combinations of this.
By the way, I dimensioned cbc as object rather than CommandBarControl, because Access won't accept CommandBarControls. Note that I have a reference to Microsoft Access 9.0 object library.
I have a menu bar named MMC_Edit. This menu bar contains the following items: File Edit View. Under View are 2 items: "Archived Data" and "Live Data". When the form is first opened I want to check the menu item "Live Data".
What is the syntax for this? (I know it's the state property, just don't know the syntax to get to it.)
I have tryed:
Dim cbc as object
Set cbc = CommandBars("MMC_Edit"
and have tryed many other combinations of this.
By the way, I dimensioned cbc as object rather than CommandBarControl, because Access won't accept CommandBarControls. Note that I have a reference to Microsoft Access 9.0 object library.