Hi Brian,

> I copied the code into a macro and hit run basic and I get a
> NoSuchElelmentException error on
> databaseDocument = databaseContext.getByName( databaseURLOrRegisteredName )

Did you adjust the "databaseURLOrRegisteredName" value in line 5 of the
macro? To an URL or to a registered name?

> I also tried the call "org.hsqldb.Library.getFullDatabaseProductVersion"()SQL
> from that page and get error: syntax error, unexpected $end, expecting BETWEEN
> or IN or SQL_TOKEN_LIKE

Press the "Run SQL Direct" button in the toolbar before executing the
macro. This is a highly HSQL-specific SQL statement, so Base's parse
(which is invoked unless you press this button) is not able to cope with it.

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