To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=106007
User fs changed the following:
What |Old value |New value
================================================================================
Status|UNCONFIRMED |RESOLVED
--------------------------------------------------------------------------------
Resolution| |INVALID
--------------------------------------------------------------------------------
------- Additional comments from [email protected] Mon Oct 19 20:53:32 +0000
2009 -------
the database application window is not expected to know about the connections
which your macro, or any other instance, creates at the same data source.
Instead, you need to tell the application window to establish a connection, and
then use that one:
If Not ThisDatabaseDocument.CurrentController.isConnected Then
ThisDatabaseDocument.CurrentController.connect
End If
oConn = ThisDatabaseDocument.CurrentController.ActiveConnection
So, it's a matter of using the right API :)
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]