Hi, I have tried to write a java program to create a database file. After running the program, it looks like there is no error. But when I open that file from OpenOffice Base, I can open it. But when I click the Table, there is an error message "The connection to the datasource cannot be established" appears.
Then I create a separate database file from OpenOffice Base and create a simple table. Then I tried to access from java program. "Table not found error appears". My java program is attached. Can anybody please suggest where I make errors? rgds --- Andrew Douglas Pitonyak <[EMAIL PROTECTED]> wrote: > Sann Maung wrote: > > >I want to connect to OpenOffice 2.0 Base from a > java > >program and manipulate the records. Can anyone > point > >me in the right direction to find the guide? > > > >Previously, I am using Microsoft Office and I am > >connecting through ODBC-JDBC. Since OpenOffice > >database is based on java (is it correct to say?), > I > >do not need ODBC. But I don't know how to use it. > > > >rgds, > > > > > Yes, you can access a Base document using Java, > Basic, Python, C, C++, > etc.... I usually use the included Basic language. > Realize that > OpenOffice.org (OOo) must be running for this to > work. > > -- > Andrew Pitonyak > My Macro Document: > http://www.pitonyak.org/AndrewMacro.sxw > My Book: > http://www.hentzenwerke.com/catalog/oome.htm > Info: http://www.pitonyak.org/oo.php > See Also: > http://documentation.openoffice.org/HOW_TO/index.html > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
