empty multiple fields

Ken Ray kray at sonsothunder.com
Thu Feb 26 20:07:14 EST 2004


sure:

repeat with x = 1 to the number of flds
  put empty into fld x
end repeat

or, if they're all named similarly, like "DataHolder_1" through
"DataHolder_5", you can do:

repeat with x = 1 to the number of flds
  put empyt into fld ("DataHolder_" & x)
end repeat

HTH,

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/ 

> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com 
> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of hershrev
> Sent: Thursday, February 26, 2004 6:53 PM
> To: use-revolution at lists.runrev.com
> Subject: empty multiple fields
> 
> 
> Hi everybody,
> is there a faster way to clear (empty) multiple fields then
> put empty in field"1"
> put empty in field"2"
> and so on ? to put all field names in Var and repeat for each line or 
> so?
> Thanks, hershrev.
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com 
> http://lists.runrev.com/mailman/listinfo/use-> revolution
> 




More information about the use-livecode mailing list