Macros/Base/ba002
TDF LibreOffice Document Liberation Project Blog comunitari Weblate Nextcloud Redmine Ask LibreOffice Donazione
Descrizione
Esegue un aggiornamento nel database corrente
Codice in Basic
Sub main()
doc = ThisComponent
conn = doc.DataSource.getConnection("", "")
sql = "UPDATE ""contactos"" SET ""numbers""=TRIM(""numbers"")"
cursor = conn.prepareStatement(sql)
result = cursor.executeUpdate()
doc.store()
MsgBox result
End Sub