Hi everyone, I have a push button on my Libreoffice Base form that opens the report. Through the code below I can open the report (which is in the document’s macro library).
ocontroller = Thisdatabasedocument.currentController
if not ocontroller.isconnected then ocontroller.connect
oreportdoc = Thisdatabasedocument.reportdocuments.getbyname("MyReport").open
However, I would like to save the above macro in the “My Macros” Library and access it from My Macros.
How can I do this?
Thank you very much in advance!