Saving datagrids

dunbarx at dunbarx at
Fri Feb 18 18:02:01 EST 2011


The DG and the field are in a substack. The field saves just fine. The DG will not even allow itself to be written to.

My button script says, in essence, set the dgText of myDG to random(99), and put random(99) into fld myField.
The field gets a new number, the DG just sits there. Of course, the IDE stack works fine.

That is why I wondered whether the issue was saving or not. Since the DG data does not change, maybe in fact it IS saved, but since it is not ever changed, I misinterpreted the problem.


-----Original Message-----
From: Richard Gaskin <ambassador at>
To: use-livecode at
Sent: Fri, Feb 18, 2011 5:11 pm
Subject: Re: Saving datagrids

dunbarx wrote: 
 > The forum thread had evolved to having to save the datagrid data in 
 > an external file, and reloading next session. That seems unfair. 
Unfair compared to what? 
AFAIK no modern OS lets an executable modify itself. 
 Richard Gaskin 
 Fourth World 
 LiveCode training and consulting: 
 Webzine for LiveCode developers: 
 LiveCode Journal blog: 
use-livecode mailing list 
use-livecode at 
Please visit this url to subscribe, unsubscribe and manage your subscription preferences: 


More information about the Use-livecode mailing list