Card navigation

David Squance squance at elkvalley.net
Fri Nov 26 12:59:03 EST 2004


I have a script which is intended to speed up locating a card on a 
find command by using an index field.  However, when tested in the 
msg box, it comes up as card not found.  If I "put" with the 
variable, the correct id (or name when I tried that) appears.  If I 
try
"go cd <id whatever>" it goes where it should. This is the find button script:

on mouseup
   ask "Find what name:"
   find it in fld "nameindex"
   put "id"&&(item 2 of the value of the foundline) into tcardno
   go cd tcardno
end mouseup

Any reason it shouldn't work?
Dave

(Mac OS10.3.6, RR2.1.2)


More information about the use-livecode mailing list