[dba-users] Re: Error message No content provider available for URL!

2009-12-03 Thread Dick Hoffman
Peter Eberlein wrote: Am 02.12.2009 08:48, schrieb Frank Schoenheit, Sun Microsystems Germany: DBaseName = ConvertURL( C:\RahStuff\Base_Stuff\Cleve_CBC.odb ) ^^ meant ConvertToURL of course, Regards Peter Frank's suggestion, modified per Peter's correction above works just fine. Ocke's

Re: [dba-users] Re: Error message No content provider available for URL!

2009-12-02 Thread Peter Eberlein
Am 02.12.2009 08:48, schrieb Frank Schoenheit, Sun Microsystems Germany: DBaseName = ConvertURL( C:\RahStuff\Base_Stuff\Cleve_CBC.odb ) ^^ meant ConvertToURL of course, Regards Peter - To

[dba-users] Re: Error message No content provider available for URL!

2009-12-01 Thread Dick Hoffman
Drew Jensen wrote: Dick Hoffman wrote: I've established a database with two tables that appears to be working very well. I'm trying to write a Basic macro that issues a query and generates some statistics from the results. I'm getting a runtime error that says No content provider available for

Re: [dba-users] Re: Error message No content provider available for URL!

2009-12-01 Thread Frank Schoenheit, Sun Microsystems Germany
Hi Dick, DBaseName = jdbc:hsqldb:file:\C:RahStuff\Base_Stuff\Cleve_CBC.odb DatabaseContext = createUnoService(com.sun.star.sdb.DatabaseContext) DataSource = DatabaseContext.getByName(DBaseName) replace DBaseName = jdbc:hsqldb:file:\C:RahStuff\Base_Stuff\Cleve_CBC.odb with DBaseName =

Re: [dba-users] Re: Error message No content provider available for URL!

2009-12-01 Thread Frank Schoenheit, Sun Microsystems Germany
replace DBaseName = jdbc:hsqldb:file:\C:RahStuff\Base_Stuff\Cleve_CBC.odb with DBaseName = ConvertURL( C:RahStuff\Base_Stuff\Cleve_CBC.odb ) better DBaseName = ConvertURL( C:\RahStuff\Base_Stuff\Cleve_CBC.odb ) , of course. Ciao Frank -- - Frank Schönheit, Software Engineer