1. Load data from the database into tArray.

2. Set the dgData of the data grid to tArray to display the data.
Make a back up of the initial data to tBackupArray.

3. After the user edits the data in the data grid, say, he clicks a button
"Save"
Write the dgData of the data grid to the database.

4. If the write is successful, put the dgData of the data grid into
tBackupArray.
If the write is unsuccessful, set the dgData of the data grid to
tBackupArray.

Regards,
Sri




--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Datagrid-Help-tp4690006p4690012.html
Sent from the Revolution - User mailing list archive at Nabble.com.

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to