Data Input History

Jeff Honken jhonken at x12.info
Thu Dec 22 17:58:03 EST 2005


Sarah,
  Thanks for the help.  I wasn't thinking along those lines so you've
put me back on path.  Jeff

-----Original Message-----
From: use-revolution-bounces at lists.runrev.com
[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Sarah
Reichelt
Sent: Thursday, December 22, 2005 3:41 PM
To: How to use Revolution
Subject: Re: Data Input History

> I've been trying to figure out how to destroy the data I've input into
a
> field after I close the stack.  I'm closing the stack using:
>
> set the destroyStack of this stack to true
>   close stack "ProvWiz"
>
> When I open the stack back up the data that I've input is still there.
> How do I destroy the data in the fields when I close the stack?

destroyStack is a property that only needs to be set once. It means
that closing a stack removes it from memory. It does not mean that any
data entered is to be destroyed. If the stack has been saved, the data
entered before the save will still be there next time you open the
stack.

If you are making a standalone, and do not set the substacks to be
separate files, no data will be saved, so that may be all you need.

However when working in the Rev environment, and before building you
will need to empty the data fields. Many people write a handler called
"stripNship" or some variation of that which sets the stack the way
you want it to be when first opened. It can empty fields, set button
hilites etc and you can run it when closing the stack, before building
or on preOpenStack.

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






More information about the use-livecode mailing list