To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=104081 Issue #|104081 Summary|getName? Component|Database access Version|OOo 2.4.1 Platform|PC URL| OS/Version|Linux Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|none Assigned to|dbaneedsconfirm Reported by|lardly
------- Additional comments from lar...@openoffice.org Fri Aug 7 12:59:12 +0000 2009 ------- This is test code which I am stepping through. It fails on getName. I don't understand why, but perhaps it's my poor understanding of the API. I did look everywhere on this site to find this but didn't. Thank you in advance for the help. Using the form design tool, I can set the property "Name" for the form, which I'm hoping to fetch using getName. forms = thisComponent.Drawpage.Forms controller = thisComponent.getCurrentController form_found = 0 for index = 0 to forms.Count - 1 form = forms.GetbyIndex(index) formName = form.GetName() next index The error is "Invalid use of an 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