To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=91223
                 Issue #|91223
                 Summary|RFE: allow (yet) more convenient (Basic) code to open 
                        |a form/report
               Component|Database access
                 Version|DEV300m21
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|ENHANCEMENT
                Priority|P3
            Subcomponent|none
             Assigned to|fs
             Reported by|fs





------- Additional comments from [EMAIL PROTECTED] Mon Jun 30 20:40:12 +0000 
2008 -------
The (not so) recently introduced css.sdb.application.XDatabaseDocumentUI
interface allows Basic code like
  ThisDatabaseDocument.CurrentController.loadComponent( _
    com.sun.star.sdb.application.DatabaseObject.FORM, _ ' or REPORT
    "form name", _
    FALSE ' or TRUE for editing the document
  )
to open a form (or report) for data entry (or editing). This is already a great
improvement over pre-3.0 code to reach the same thing.

Now Andrew Jensen suggested in [EMAIL PROTECTED] that it would be yet
more convenient if the Basic developer could write something like
  ThisDatabaseDocument.FormDocuments( "form name" ).open

... which in fact sounds yet more appealing.

This issue requests to implement this improvement, by adding an additional
interface to the css.sdb.DocumentDefinition service. (Note that for the moment
this will not be added for queries and tables, this requires completely
different implementations, and thus deserves a separate issue.)

Note that issue 91220 contains the patch which in fact allows the above syntax,
without this patch, one can only do
  ThisDatabaseDocument.FormComponents.getByName( "form name" ).open

---------------------------------------------------------------------
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]

Reply via email to