pass active screen with menu item
am 11.04.2008 18:14:50 von BobHHi All,
In AccessXP I have a custom menubar an item on it is 'Save Rpt'.
This item calls a function in a module that will save an access report
as a pdf file to a specific directory. Right on all the report names
are hard coded into the module and I want to change that so it is more
dynamic.
When a user has a report on screen in preview mode and they click on
the 'save rpt' menu item I want to pass the name of the currently
being viewed report to the function and I'm not sure of how to do
that.
If the function name is SRpt to the custom menu item can I add
something like
SRpt(active.screen) or SRpt(active.report) or do I have to do
something else.
thanks
bobh.