Hi Drew, > Turns out the problem is not the loadComponentFromURL that works just > fine with a Folder/Form name string. The problem is the hasByName function. > [NOTE - seems like a bug to me...but that is for another email to a > different list I suppose]
"hasByHierarchicalName" is your friend: http://api.openoffice.org/docs/common/ref/com/sun/star/sdb/DocumentContainer.html It works for both "hierachical" ("folder/form") and plain ("form") names. 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]
