jatfill
Registered User.
- Local time
- Today, 15:43
- Joined
- Jun 4, 2001
- Messages
- 150
I'm completely stumped on this, any help would be greatly appreciated. I don't currently use switchboards, I prefer menu-driven commands, as I can keep them consistent throughout my database, etc.
I would like to be able to run VBA from a menu item instead of creating a macro for each custom menu item, etc. but I'm not even sure if that's possible.
For example, I would like a menu command that simply runs the following:
DoCmd.OpenForm "frmName", acNormal, "", "", acAdd, acNormal
but Access menu won't take this as a custom command... it returns an error. I have one form I use for data entry and editing, and it would be much better if I could control how the form is opened (data entry mode, filtered, etc)
Any thoughts would be greatly appreciated... thanks!
I would like to be able to run VBA from a menu item instead of creating a macro for each custom menu item, etc. but I'm not even sure if that's possible.
For example, I would like a menu command that simply runs the following:
DoCmd.OpenForm "frmName", acNormal, "", "", acAdd, acNormal
but Access menu won't take this as a custom command... it returns an error. I have one form I use for data entry and editing, and it would be much better if I could control how the form is opened (data entry mode, filtered, etc)
Any thoughts would be greatly appreciated... thanks!