Hi Bill,

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?

sorry, but "repeat for each..." will only work with chunk expressions.

You will hve to use good ol':

repeat with i = 1 to the num of flds of cd "DocApplication" of stack "CustomForms"
     put emtpy into fld i of cd "DocApplication" of stack "CustomForms"
end repeat

Hope that helps...


Regards

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

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

Reply via email to