Re: saving relationship diagram across sessions
Seb <[email protected]> Mon, 04 Jan 2010 10:58:46 -0600
| Newsgroups | gmane.comp.openoffice.dba.user |
|---|---|
| Organization | Church of Emacs |
| Message-ID | <[email protected]> |
On Mon, 04 Jan 2010 10:15:22 +0100, "Frank Schoenheit, Sun Microsystems Germany" <[email protected]> wrote: > Hi Seb, >> I'm using Base to work with a PostgreSQL database, via the postgresql >> driver. Is there some way to make the relationship diagram in "Tools >> -> Relationships" persist across sessions? Currently, any work I do >> on the visual arrangement of the tables, size, position, etc. is lost >> after I close that window. Any help would be appreciated. > Uhm, those things *should* be persistent already. In fact for me they > are (assuming that you do a File/Save in both the relation designer > and the database document). > Sadly, I have no idea how this could be broken. > Technically, the data source has a property LayoutInformation, which > carries the layout of the relation designer. You could try writing a > macro which examines this property, to see if the relation designer > properly stores its layout. Then, this data source property's value > is stored in the settings.xml file in the .odb package - that's the > next thing you could check to see if the layout is stored properly. Thanks Frank. Indeed I did save the changes in the relation designer and the database document, but the relation designer starts with everything anew next time I open the file. Can you please suggest how I can write the macro you describe. I'm not sure what the data source and the *.odb package are. Thanks. -- Seb