Hi Andrew, > 'oFormDoc = oFormDef.execute(sOpenMode, nCmd, eEmpty) ' Variable NOT > defined > 'oFormDoc = oFormDef.execute(sOpenMode, nCmd, oNull) ' Object > Variable NOT set > 'oFormDoc = oFormDef.execute(sOpenMode, nCmd, NULL) ' Object Variable > NOT set > 'oFormDef.releaseCommandIdentifier(nCmd) > > I think, therefore, that I really do need to send an appropriate variable.
Hmm, but this sounds more like a problem of the Basic binding to me. Just tried - even oFormDef.execute( sOpenMode ) gives me "Object variable not set", which sounds like nonsense to me. I'm clueless, will try to clarify with some Basic guys ... 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]