Find restricted to given card
James Hurley
jhurley0305 at sbcglobal.net
Sun May 1 12:43:03 EDT 2011
Thanks John. That is perfect.
I changed the line from:
Find "jim" in field "theText"
to:
Find "jim" in field id the id of field "theText"
Too lazy to even look up the number.
Jim
John Dixon Wrote
> Hi Jim...
>
> Just had a quick test... two cards each with a field...
>
> on mouseUp
> find "jim" in field id 1004
> end mouseUp
>
> Without using the id, it finds 'Jim' in both fields as you are seeing. Using the id of the field it only looks in the one field.
>
> be well
More information about the use-livecode
mailing list