To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=113506 Issue #|113506 Summary|thisDatabaseDocument.FormDocuments.getbyName( XX ).ope |n retuns NULL if form is aldready open Component|Database access Version|OOO330m1 Platform|Unknown URL| OS/Version|All Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|none Assigned to|dbaneedsconfirm Reported by|atjensen
------- Additional comments from atjen...@openoffice.org Wed Jul 28 22:50:54 +0000 2010 ------- Test systems OOO330m_2 / Ubuntu Studio 10.04 (AMD64) & Win Vista (32bit) #FAIL OOo3.2.1, 3.2.0 - #PASS I did not try LoadComponentFromURL against the forms container to see if that changed also. To reproduce load the attached file, with macro execution enabled. On the main form Select any item in the grid Select Article in the drop down list Click 'Edit as' button. Close the form and save the record. This code is run: sub updateBiblio dim bkMark as variant dim oForm as object dim ResultSet as object thisDatabaseDocument.LockControllers oForm = thisDatabaseDocument.FormDocuments.getByHierarchicalName( "Biblio" ).open if not isEmpty( oForm ) then 'xray oForm ResultSet = oForm.Drawpage.Forms.getbyIndex( 0 ) bkMark = ResultSet.getBookMark Resultset.Reload do while NOT ResultSet.isLoaded wait 1 loop ResultSet.moveToBookmark( bkMark ) end if thisDatabaseDocument.UnLockControllers end sub xray oForm returns NULL OBJECT ?? --------------------------------------------------------------------- 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