You can run this from these windows: *** - LibreOffice Base *** - LibreOffice Base: Database Form (in either Edit or normal modes) But you can't run it from a My Macros & Dialogs window (the place where you view your BASIC code).