empty multiple fields
Scott Rossi
scott at tactilemedia.com
Sun Feb 29 15:25:13 EST 2004
On 2/29/04 11:53 AM, "hershrev" <hershbp at realtorsgroup.us> wrote:
>> 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
> If needed to exclude a certain field e.g. named "xlable" how is it done?
Add either of the following above the "put empty..." line:
if (x & "label") = "xlable" then next repeat
Or
if short name of fld x = "xlable" then next repeat
Regards,
Scott Rossi
Creative Director
Tactile Media, Development & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com
More information about the use-livecode
mailing list