Seeking a navigation system among 200 individual / card DB for attendance at camp

dunbarx at aol.com dunbarx at aol.com
Wed Jun 13 20:51:56 EDT 2012


I have to think before I write.


I think this will work better:



on keyDown var
   put the yourList of me into temp
   put var after me
   filter temp with me & "*"
   put temp into fld "results"
end keyDown




-----Original Message-----
From: dunbarx <dunbarx at aol.com>
To: use-livecode <use-livecode at lists.runrev.com>
Sent: Wed, Jun 13, 2012 8:37 pm
Subject: Re: Seeking a navigation system among 200 individual / card DB for attendance at camp


You do not have to sort the cards, and you do not have to go anywhere until you 
actually find your target. This is generally good practice.


Make an editable field. Set a custom property of that field (yourList) to all 
the names you want to find. Can you write a script to do this? Write back if you 
need help.


Make another field named "results". Put this into the editable field.

 




on keyDown var
   put the yourList of me into temp
   put var after me
   filter temp with "*" & me & "*"
   put temp into fld "results"
end keyDown


When you type into the field, the successive matches from the master list are 
winnowed, with the ever more refined matches loaded into fld "results". Play 
with this, it needs more functionality.


Craig Newman

_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

 




More information about the Use-livecode mailing list