Saving datagrids

Jim Ault jimaultwins at yahoo.com
Fri Feb 18 18:06:24 EST 2011


On Feb 18, 2011, at 2:37 PM, Peter Haworth wrote:

> Are we talking about saving data between runs of the standalone or  
> just re-opening the stack in the same run of the standalone?  As  
> other have pointed out, there is no way to save data between runs of  
> a standalone without the usual workaround they mentioned.  But I  
> think datagrids have a "persistant Data" property that affects  
> whether the data in them is saved when the stack they are in is  
> closed and then re-opened in the same run.
If stack was designed to be the app,
then saving changes could only be true if the stack was running in the  
IDE, not once it is compiled.

If you wrote an app that would open a stack and populate the datagrid,  
then save the stack as a stack file, that would work because the  
modified stack would not be part of the app or exe.  This is the same  
as creating a spreadsheet or text document and saving that file, yet  
not saving any modifications to the app (such as Excel or TextEdit)

Jim Ault
Las Vegas






More information about the use-livecode mailing list