On Sun, Nov 13, 2011 at 7:44 PM, Michael Doub <m...@doub.com> wrote: > >> >> What is going on under the covers with persistent data? Can I climate a >> copy of the data if this is turned off? > > > Sorry I was not clear. I understand that if persistent data is use the > dgData is stored in a custom property. What about dgText? Is it recreated > for the next session?
Hello Mike, If the persistent data of a datagrid is set to true, the data will persist under sessions, whatever you chose to populate it with dgText or dgData. If the stack is saved as a standalone, the data stored in the datagrid, before the save of the stack, will be available under sessions. However if the datagrid is in the standalone, data updates will be not persistent, because custom properties in a standalone are not stored. Have a look to this lesson about storing data in custom properties in a standalone: http://lessons.runrev.com/s/lessons/m/4071/l/17375-How-do-I-save-custom-properties-in-a-standalone-application- > Is it better for me to set the dgText or manually create an array and use > dgData. The datagrid engine works internally with arrays. So when you populate the datagrid with dgText, the data is parsed and the engine sets the dgData property. So for performances, dgData should be prefer. Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.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