To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=106007
------- Additional comments from atjen...@openoffice.org Mon Oct 19 00:37:24 +0000 2009 ------- Haven't checked this particular code but wanted to pass along: With version 3.1 a system variable was added to Basic: ThisDatabaseDocument Assuming your Basic macros are embedded within the Base file then it would be preferable to use this variable to access your forms. For instance this wrapper function is one I've been using of late: function ShowForm( aFormName as string ) as object if isNull( ThisDatabaseDocument.CurrentController.ActiveConnection ) then ThisDatabaseDocument.CurrentController.connect() end if ShowForm = ThisDatabaseDocument.FormDocuments.getByName( aFormName ).open end function It looks like you are getting caught by the fact that when a Base file is opened to the desktop the connection to the actual database has not been established, the code above checks for this - --------------------------------------------------------------------- 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: issues-unsubscr...@dba.openoffice.org For additional commands, e-mail: issues-h...@dba.openoffice.org --------------------------------------------------------------------- To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org