Hi guys, I have this macro in my Libreoffice Base Document:
Sub LimparCampos
if IsNull(ThisDatabaseDocument.CurrentController.ActiveConnection) then
ThisDatabaseDocument.CurrentController.connect
endif
Dim oStatement As Object
oStatement = ThisDatabaseDocument.CurrentController.ActiveConnection.createStatement()
oStatement.execute("UPDATE ""Filtro"" SET ""Sintomatologia 01"" = NULL ")
End Sub
How do I open this Macro from the My Macros library (and not from the document’s own default library)?