How safe is the data in the datagrid?

Andrew Kluthe andrew at rjdfarm.com
Tue Aug 17 11:57:18 EDT 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
dataGrid.

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
unnecessary?
-- 
View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-safe-is-the-data-in-the-datagrid-tp2328573p2328573.html
Sent from the Revolution - User mailing list archive at Nabble.com.



More information about the use-livecode mailing list