handler: error in statement
    Klaus Major 
    klaus at major-k.de
       
    Wed Jan 16 10:38:25 EST 2008
    
    
  
Hi Mark
> Hi all,
>
> This error (see subject) happens when I double-click on a table  
> field of
> data that has an "on mouseDoubleUp" in it.
> The idea of the script is to get the ID value (item 1) and place it  
> into a
> global variable.
> Then go to a card to edit the record.
>
> Here's the RunRevScript:
Try this:
> on mouseDoubleUp
     ## !!!
     global gRecord
>   set the itemDel to tab
> ##  put item 1 of the selectedText into gRecord
   put item 1 of the selectedText OF ME into gRecord
>   go card "EditRecord" of stack "names"
> end mouseDoubleUp
>
> Anything wrong with this script?
> 3rd line causes the error
> ....
> As soon as I put this script (go card...) into the table field and  
> use it
> there, the above error occurs.
> Any help is much appreciated.
>
> Thanx,
> Mark Stuart
Regards
Klaus Major
klaus at major-k.de
http://www.major-k.de
    
    
More information about the use-livecode
mailing list