improvement will be welcomed !
Robert
--
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/Find-or-Search-Function-tp2321792p2536390.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-revolution
improvement will be welcomed !
Robert
--
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/Find-or-Search-Function-tp2321792p2536391.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-revolution
: Wednesday, August 11, 2010 4:49 PM
To: use-revolution@lists.runrev.com
Subject: Re: Find or Search Function
Thanks for the response's. I will give it a shot and see what happens.
--
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/Find-or-Search-Function-tp2321792p2321929
Does anyone know of a tutorial showing how to create a search function or a
find function that can be used to search all cards in a stack for a certain
word that may be in all fields and then going to that card as well as have
next and previous functionality to find each instance of the search? I
There always seems to be a better way, but you can always:
on mouseUp
ask Find?
if it then put it into tFind
repeat with y = 1 to the number of cds
repeat with u = 1 to the number of flds of cd y
if tFind is in fld u of cd y then put fld id the id of fld u
of cd y
In HyperCard you could speed up that sort of thing by saying:
unmark all cards
mark cards by finding whatever
repeat with a = 1 to the number of marked cards
go marked card a
--then run around the fields if you need to
end repeat
That may well work the same in Rev, and might make things
Thanks for the response's. I will give it a shot and see what happens.
--
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/Find-or-Search-Function-tp2321792p2321929.html
Sent from the Revolution - User mailing list archive at Nabble.com