' Verbindung zur DB herstellen
If not oDatenquelle.IsPasswordRequired then
oVerbindung = oDatenquelle.getConnection("test","test")
else
oVerbindung = oDatenquelle.getConnection("","")
End if
..wenn bei mir an der Stelle irgendetwas nicht stimmt, dann geht schon die .getConnection-Anweisung "in die Hose" (Code stoppt, Fehlermeldung poppt hoch).
Sonst prüfe halt oVerbindung auf IsNull( oVerbindung ) oder IsEmpty( oVerbindung ).
Meintest Du so etwas?
Cheers Winfried
aktuell: LO 5.3.5.2 30m0(Build:2) SUSE rpm, unter Linux openSuSE Leap 42.3 x86_64/KDE5 DateTime2 Einfügen von Datum/Zeit/Zeitstempel (als OOo Extension)