FancyPrairie
Programmer
I have a button on a ribbon. The onAction command is set to call a function that exists in an access database that I reference.
The xml code for the button looks like this:
<button id="123"
label="mylabel"
onAction="=MyLibraryRoutine('argument1')"
size="large"/>
The error I get is that my database can't find the function. However, if I copy the function from my library database to my current database, it works fine. I can also execute the function via debug's Immediate window (while it still exists in my library).
My question is, how do I call a library routine via the onAction command of a ribbon? That is, what is the syntax?
The xml code for the button looks like this:
<button id="123"
label="mylabel"
onAction="=MyLibraryRoutine('argument1')"
size="large"/>
The error I get is that my database can't find the function. However, if I copy the function from my library database to my current database, it works fine. I can also execute the function via debug's Immediate window (while it still exists in my library).
My question is, how do I call a library routine via the onAction command of a ribbon? That is, what is the syntax?