August 2010
Intermediate to advanced
1500 pages
54h 49m
English
From within Visual Basic, you can execute most of the macro actions that Access provides and any of the built-in menu commands. Only a few of the macro actions have direct Visual Basic equivalents. To execute a macro action or menu command, use the methods of the DoCmd object, described next.
Use the methods of the DoCmd object to execute a macro action or menu command from within a Visual Basic procedure.
DoCmd.actionmethod [actionargument],...
Some of the macro actions you’ll commonly execute from Visual Basic include ApplyFilter, Close, FindNext and FindRecord (for searching the recordset of the current form and immediately displaying the result), Hourglass, Maximize, Minimize, MoveSize, ...
Read now
Unlock full access