Hi Andrew, > If the command name is "open" rather than "openDesign", than an active > connection is required, or the form will load but will not be able to > access the database because it has no connection. At least I assume this > is why I have the problem that I do with this method.
I remember encountering this (the need for a connection when "open"ing a form via API) during fixing the keep-the-form-def-alive bug (2.0.1). I did not completely fix the connection-issue, so I fear there's currently no bug for this. Do you mind submitting one? > Note that I am able to use the following: > ... loadComponentFromURL internally only triggers an execute, so both solutions are equivalent. If you pass the connection in the first function (OpenFormInDB2), this one should work, too. If you don't pass the connection in the second function (OpenFormInDB1), this one should *not* work, too. Right? Thanks & 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]