How safe is the data in the datagrid?

Andrew Kluthe andrew at
Tue Aug 17 10:57:18 CDT 2010

Hey all,

I am currently working on a database app that needs to work whether it is
connected to the db or not.

For this, I just check the connection before each transaction and if it is
connected it puts the data into a mySQL. 

If it is not connected, I have it storing it in a datagrid queue until the
next connection is detected. 

Once connected, my program loops through the dataGrid and inserts it into
the DB. After a successful insertion that index gets deleted from the

My original idea was to store these locally as a tab delimited text file or
as xml.

How safe is the data in the dataGrid from program crashes and in between
sessions of use? The local data must be kept intact until it can be
successfully loaded into the DB.

Should I dump to an xml or txt file as a backup plan, or is this
View this message in context:
Sent from the Revolution - User mailing list archive at

More information about the use-livecode mailing list