I edited mdlExecReport and added a function OpenAllergyReport, which is a duplicate of OpenReport().
This works when I access the macro from the toolbar - in both the DB object and an exported .odt form (where I hoped to put the button). It's throwing one error for line 305 (not optional??), but it still opens the report :-) But I cannot run it from the button. I may be configuring the button incorrectly. On the General tab, I have Action : none, then on the events tab I have Execute Action mdlExecReport-mdlOpenAllergyReport. If not, maybe a button isn't the way to go? Any suggestions? Encouraged! Beth -- View this message in context: http://nabble.documentfoundation.org/Triggering-reports-from-html-files-tp3654402p3668612.html Sent from the Users mailing list archive at Nabble.com. -- For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted