https://bugs.freedesktop.org/show_bug.cgi?id=81960
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from [email protected] --- The makro is linked wrong in your example. It tries to connect to the Standard-Module of LO, not of the file test.odb If you want to connect to the database before connecting to the tables or though a form, you must connect in the Macro. Try the following: DIM oDatasource AS OBJECT DIM oConnection AS OBJECT oDatasource = thisDatabaseDocument.CurrentController IF NOT (oDatasource.isConnected()) THEN oDatasource.connect() oConnection = oDatasource.ActiveConnection() With this special code the dialog starts, when the file is starting. So I can't confirm a bug. -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
