On Wed, Jul 8, 2015 at 3:27 AM, Peter W A Wood <peterwaw...@gmail.com>
wrote:

> I’m trying to find the best way to clear all the fields in which data can
> be entered on a card. At the moment I use this code:
>

Situation dependent, of course, but I have sections with things like

switch

case fldNam="Label Field"

case char 1 to 4 of fldNam="lbl_"

case char 1 to 4 of fldNam = "ctr_" --nondata control fields
...

--it's not a live field
next repeat
break

...

end switch


thee are in one-time loops when the version number changes.  At the end of
the loop, a custom property with the "live" fields is set, so

on close field

if fldNam is among the words of the datFields of this card

--do something
...


-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
_______________________________________________
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

Reply via email to