On 22 Jan 2008, at 19:32, Peter Alcibiades wrote:

on mouseUp
 set the itemDelimiter to tab
 repeat for each line L in field "tSales"
   get lineOffset(item 1 to 2 of L, "tStock")
   if it > 0 then subtract 1 from item 5 of line it of field "tStock"
 end repeat
end mouseUp

Sure it doesn't do anything - you've got "tStock" instead of text of field "tStock" in the lineoffset line.

Ian
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to