Re: [dev] How to make OO update table list

2005-05-19 Thread Frank Schönheit - Sun Microsystems Germany
Hi Matthias, > I'm not really interested in the DSB. What I really want to do is to > connect an open document that has mail merge fields to a different CSV > file. I played around with DocumentSettings.CurrentDatabaseCommand and > changing this seemed to be what I want. I thought my problem was j

Re: [dev] How to make OO update table list

2005-05-19 Thread Andrew Douglas Pitonyak
Department Linux&Office Migration wrote: How can I script this from a Java or Basic program that knows only the name under which the database is registered? So, do not register the database. I know that you do not have to if you are using the new development version. Use the URL to the database

Re: [dev] How to make OO update table list

2005-05-17 Thread Matthias Benkmann
Hallo Frank, thanks for your help so far. > There might be a somewhat cumbersome and pretty roundabout way if you > want to refresh the data source browser's content (the DSB is the thing > you get view "View->Data Sources"). I.e., if you know that the users are > seeing the data source in a DSB,

Re: [dev] How to make OO update table list

2005-05-13 Thread Frank Schönheit - Sun Microsystems, Inc.
Hello Matthias, >>Okay, then open the .odb file, and do View|Refresh Tables. > How can I script this from a Java or Basic program that knows only the > name under which the database is registered? Pidgin-UNO-Java: oDS = css.sdb.DatabaseContext().XNameAccess.getByName( ) oConn = oDS.XDataSource.

Re: [dev] How to make OO update table list

2005-05-13 Thread Department Linux&Office Migration
2005/5/12, "Frank Schönheit - Sun Microsystems, Inc." <[EMAIL PROTECTED]>: > > Okay, then open the .odb file, and do View|Refresh Tables. How can I script this from a Java or Basic program that knows only the name under which the database is registered? > > OO doesn't seem to close the database

Re: [dev] How to make OO update table list

2005-05-12 Thread Frank Schönheit - Sun Microsystems, Inc.
Hello Matthias, > Connecting pooling is already disabled (seems to be the default state) > but it doesn't help. forgive me, I overlooked that you're working with 2.0 Beta, I assumed 1.1.x. Okay, then open the .odb file, and do View|Refresh Tables. > OO doesn't seem to close the database connect

Re: [dev] How to make OO update table list

2005-05-11 Thread Department Linux&Office Migration
2005/5/11, "Frank Schönheit - Sun Microsystems, Inc." <[EMAIL PROTECTED]>: > Hello "Department Linux&Office Migration" / Matthias, > > > Can someone tell me how > > to force OO to re-read the CSV-directory and to update its list of > > tables? > > Easiest way would probably be to disable connect

Re: [dev] How to make OO update table list

2005-05-11 Thread Frank Schönheit - Sun Microsystems, Inc.
Hello "Department Linux&Office Migration" / Matthias, > Can someone tell me how > to force OO to re-read the CSV-directory and to update its list of > tables? Easiest way would probably be to disable connection pooling in Tools|Options|Data Sources. This way, OOo will not remember (pool) the data

[dev] How to make OO update table list

2005-05-11 Thread Department Linux&Office Migration
Hallo, I have registered as database a directory of CSV-Files (very useful feature, btw). Everything works fine if I add/remove files to/from this directory while OO is not running. OO picks up the changes on its next start. However, what I need to do is to add/remove files while OO is running. My