Il 22/05/2012 00:09, Italo Vignoli ha scritto:
Roberto Crosio wrote:

Forse ho risolto, ma ditemelo voi, per favore...

Questa è la risposta in inglese di Lionel:

The macro "EsciDabase" produces the following error with LibreOffice 3.5:
Errore di runtime BASIC.
Si è verificata un'eccezione
Type: com.sun.star.container.NoSuchElementException

It produces the same error with LibreOffice 3.3.3; I'm fairly sure it
*never* worked with *any* version of Open/LibreOffice. This macro
shows its author confused the notion of a form and of the controls
contained in it. Here's a version that is probably what the author
intended:

Sub EsciDaBase
     Dim oForms as Object, oForm as Object
     oForms = ThisComponent.DrawPage.Forms
     oForm = oForms.GetByName("Formulario")
     oForm.ActiveConnection.flush()
     StarDesktop.terminate
End sub

I just replaced "Uscita" by "Formulario" in the GetByName
call. Formulario is the name of the form and Uscita is the name of the
button in the form. I recommend the user use the "Form navigator" (in
the Form design toolbar) to understand their relationship.

Ti ringrazio Italo, e ringrazia da parte mia Lionel :-D
Ma allora il commentare le righe, come ho proposto prima, è pericoloso, oppure ininfluente?

Si è accennato a SQLite come motore interno di db al posto di HSQL.
Lionel che ne pensa, in merito a stabilità e multiuser?

Grazie ancora.

--
Distinti saluti
Roberto Crosio

--
Come cancellarsi: E-mail [email protected]
Problemi? http://it.libreoffice.org/supporto/mailing-lists/come-cancellarsi/
Linee guida per postare + altro: 
http://wiki.documentfoundation.org/Local_Mailing_Lists/it
Archivio della lista: http://listarchives.libreoffice.org/it/users/
Tutti i messaggi inviati a questa lista vengono archiviati pubblicamente e non 
sono eliminabili

Rispondere a