A problem with clearing fields on marked cards

charles61 cszasz at mac.com
Sun Jun 6 22:55:42 EDT 2010


I have the following script to clear fields on marked cards:

on mouseUp
   repeat with y = 1 to the number of marked cards
      repeat with u = 1 to the number of fields of marked card y 
         if the short name of field u CONTAINS "field" then put empty into
field u
      end repeat 
   end repeat 
end mouseUp

The script clears the empty fields on the marked card that has the Clear
button but it will not clear the fields on the next marked card. This sample
stack consists of two cards. This is weird! I am using Rev Enterprise 4.0.
Any suggestions?
-- 
View this message in context: http://runtime-revolution.278305.n4.nabble.com/A-problem-with-clearing-fields-on-marked-cards-tp2245427p2245427.html
Sent from the Revolution - User mailing list archive at Nabble.com.



More information about the use-livecode mailing list