I have the following script in a button: on mouseUp
put the hilitedline of field "mySelects" into myDelete repeat for each item L in myDelete delete line L of field "mySelects" end repeat end mouseUp If the hilitedlines of the field are, say, 1,4,7 then it will delete lines 1 and 4, but not 7. It always deletes all but the last line. Why? Thanks, Larry _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode