I want to clear fields like this:

repeat for each field tField in card "DocApplication" of stack "CustomForms"
  put empty into tField
end repeat

but I keep getting the error "bad terminator" -- what am I doing wrong?


Sarah Reichelt wrote:

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

Now this works ok except that the card has some labels and the script clears
the label contents.

I use this sort of script which only clears editable fields.

on mouseUp
  repeat with x = 1 to the number of flds
   if the lockText of fld x is false then put empty into fld x
 end repeat
end mouseUp


Sarah

_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution




_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to