> What about
>   ThisDatabaseDocument.loadComponent(
>     com.sun.star.sdb.application.DatabaseObject.FORM,
>     "my beautiful form",
>     TRUE
>   )
> ?

should have been
  ThisDatabaseDocument.CurrentController.loadComponent(
    ...

opening sub components can be done at the controller only (which
supports the XDatabaseDocumentUI interface, which got the 2 new
methods), since you need a UI (i.e. a controller) to knit the frames of
the sub document.

Ciao
Frank


-- 
- Frank Schönheit, Software Engineer         [EMAIL PROTECTED] -
- Sun Microsystems                      http://www.sun.com/staroffice -
- OpenOffice.org Base                       http://dba.openoffice.org -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to