empty multiple fields

hershrev hershbp at realtorsgroup.us
Sun Feb 29 16:59:30 EST 2004


Got it .
Thanks
On Sunday, February 29, 2004, at 03:47 PM, Jeanne A. E. DeVoto wrote:

> At 2:53 PM -0500 2/29/2004, hershrev wrote:
>> On Thursday, February 26, 2004, at 08:07 PM, Ken Ray wrote:
>>> repeat with x = 1 to the number of flds
>>>   put empty into fld x
>>> end repeat
>
>> If needed to exclude a certain field e.g. named "xlable" how is it 
>> done ?
>
> In this case, you check the field's name inside the repeat loop, in 
> order to make sure it isn't the field you want to skip:
>
>   repeat with x = 1 to the number of fields
>     if the short name of field x is not "xlable"
>     then put empty into field x -- only if not "xlable"
>   end repeat
> -- 
> jeanne a. e. devoto ~ jaed at jaedworks.com
> http://www.jaedworks.com
> _______________________________________________
> 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