Hi Andrew,

> I used a connection, becuase if I did not, then the loadComponentFromURL 
> generated an exception. With the active connection, it does not.

Hmm. I find this a little bit surprising. From a convenience point of
view, this should not be required, since it burdens the API client with
the (unnecessary) burden to care for the connection's lifetime.

> The portion of the code that closes the connection is not shown, but I 
> did comment it out initially because I expected that the connection was 
> used for the form that I wanted to hold open.

Was just mentioning this for completeness :)

> I will try the oFormDef.execute() method. I assume that I should release 
> the command identifier after the execute statement...

Speaking strictly: yes. Speaking practically: No. In Base, no resources
are associated with the identifiers, so not releasing them wouldn't be a
problem.
Admittedly, if you need to release the identifier, and still use an
ActiveConnection, then I withdraw my statement of this method being
easier :)

Ciao
Frank

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


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

Reply via email to