Re: Problem with subforms in 2.0.4 in Fedora Core 6

Frank Schönheit - Sun Microsystems Germa ny <[email protected]>
Newsgroups gmane.comp.openoffice.dba.user
Message-ID <[email protected]>
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 -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.