To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=57097 Issue #:|57097 Summary:|API: cannot create new empty form document using the |public UNO API Component:|Database access Version:|OOo 2.0 Platform:|All URL:| OS/Version:|All Status:|NEW Status whiteboard:| Keywords:| Resolution:| Issue type:|DEFECT Priority:|P3 Subcomponent:|none Assigned to:|fs Reported by:|fs
------- Additional comments from [EMAIL PROTECTED] Tue Nov 1 00:17:24 -0800 2005 ------- The Developer's Guide states that you can create a new form (or report, for that matter) document in a database by using createInstanceWithArguments, and passing arguments named "Name" and "ActiveConnection". This does not work, as the attached macro proves. There are several problems associated with trying to create a new empty form document: - API-wise, you need to pass a cryptic "ClassID" property to the createInstanceWithArguments method, else the document definition internally does not create an embedded object - even if the proper class id is passed, the form does not yet exist. Instead, it is only saved after it is opened in design mode, and then saved. This (opening an UI) is not acceptable for scripting. We need a API mechanism to simply "create a new empty form with name 'foo'". --------------------------------------------------------------------- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]