Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


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 users+help@it.libreoffice.org
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

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.