Re: Dia-list digest, Vol 1 #758 - 5 msgs



On Tue, 2003-02-18 at 15:26, James K. Lowden wrote:
On Tue, 18 Feb 2003 15:12:59 -0800, "Graham Bartlett"
<gbartlett gamet com> wrote:

I'm using Dia v0.90 and have created a table that is to contain about
500 records. Instead of typing them in, I have a file with all of these
values. I cannot simply open the Dia file with a text editor and add
them as the file seems to be encrypted or in binary form, so is there a
way to add this data without having to enter it in through the Dia GUI?

I'm not at all clear where 500 records of data would go in a Dia "table",
though, so I can't help you there.  

He is using tedia2sql which uses one of the Dia UML elements to insert
values into tables (thus, tables can be filled with default values upon
recreating a schema in a database).

It is common for users to tell you they want THIS set of 200 default
values rather than the current set. Dia's text processing in the UML
shapeset is... not useful... so you need to open the savefile in a text
editor and tweak it there.

And yes, the answer is to gunzip the Dia savefile, edit it, and re-zip
it afterward. To make working with Dia/tedia2sql easier, you probably
would want to choose to store Dia savefiles in uncompressed format so
that you don't have to do these extra steps each time you want to tweak
the savefiles manually.

-- 
Tim Ellis
Senior Database Architect
author, tedia2sql (tedia2sql.tigris.org)





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]