A problem with clearing fields on marked cards
Scott Morrow
scott at elementarysoftware.com
Sun Jun 6 23:25:18 EDT 2010
I think you just need to specify the card that the target field is on:
if the short name of field u of marked card y CONTAINS "field" then put empty into field u of marked card y
Scott Morrow
Elementary Software
(Now with 20% less chalk dust!)
web http://elementarysoftware.com/
email scott at elementarysoftware.com
office 1-800-360-734-4701
------------------------------------------------------
On Jun 6, 2010, at 7:55 PM, charles61 wrote:
>
> 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.
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list