Saving datagrids
dunbarx at aol.com
dunbarx at aol.com
Fri Feb 18 18:02:01 EST 2011
Richard.
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.
Craig
-----Original Message-----
From: Richard Gaskin <ambassador at fourthworld.com>
To: use-livecode at lists.runrev.com
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: http://www.fourthworld.com
Webzine for LiveCode developers: http://www.LiveCodeJournal.com
LiveCode Journal blog: http://LiveCodejournal.com/blog.irv
_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list