Hi Marc, > That is a sequence retrieving all table names into a string. Okay, not > so complicated, but if I had to explain someone why getting the forms is > one property away and the tables aren't, I'd stumble. > > Since The documents View has to do anyways, why not make a shortcut for > tables and queries, too?
Names() = Connection.Tables/Queries.ElementNames Is this what you mean? > Btw. the last parameter of MetaData.getTables is documented as "NULL > get's all types of tables", but if it is set to NULL something like > "Object variable not set" occurs. Yes, that's a long-standing bug. The API was originally designed (years ago) after JDBC. In Java, there in fact is the concept of a string variable being NULL, while in UNO, a string can never be NULL - it must be an Any then, which can be VOID. Unfortunately, since UNO API must be stable, we cannot change this anymore. I really would like to do so - using this method, and similar ones, always requires special handling. 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]
