Re: Shortcut menu action syntax
- From: "Albert D. Kallal" <PleaseNOOOsPAMmkallal@xxxxxxx>
- Date: Thu, 31 Jul 2008 20:08:25 GMT
Build a public function in the "main" (parent) form.
Public Function ShowAvailability
me.orderDetails.Form.ShowAvailability()
end if
Now, in the on-action for your menu bar, go:
=ShowAvailability()
Don't include the forms qualifier for a menu, else it will run 3
times...(long time bug in access).
Remember, the form that has the focus is which form the public function will
run. So, to run code in sub-forms you best build a function in the parent
form that simple calls the sub-form code...
--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pleaseNOOSpamKallal@xxxxxxx
.
- References:
- Shortcut menu action syntax
- From: Jim Devenish
- Shortcut menu action syntax
- Prev by Date: OutputTo RTF Problem - Access 2007
- Next by Date: Re: local path variable...
- Previous by thread: Shortcut menu action syntax
- Next by thread: local path variable...
- Index(es):
Relevant Pages
|