I would like to create a menu item that when clicked opens a form and passes some information in the openargs. The following works perfectly fine in VB:
DoCmd.openForm "My Form", , , , , , "My Args"
I have tried to add it to my menu item OnAction property as...
=DoCmd.openForm("My Form", , , , , , "My Args"
...but that does not work. Any ideas?
DoCmd.openForm "My Form", , , , , , "My Args"
I have tried to add it to my menu item OnAction property as...
=DoCmd.openForm("My Form", , , , , , "My Args"
...but that does not work. Any ideas?