I have a form in a LibreOffice Base document with a button on it. I want to display a query when the button get's pressed. How do I do it? I have tried using the form editor to link a macro to the button's "Execute action" event, but can't find a readymade script that does this. Nearest thing that looked promising was BaseTools.Queries.OpenQuery that takes two parameters, but I can't seem to specify which query to open.
Thanks!