Also, how do I deselect all lines before I start (select empty doesn;t
seem to achieve this).
Hi Rob,
When you select a line in a repeat loop, only the last found line
will appear selected :-)
Try to parse the lines by number and set the hilitedLines at the end:
put 0 into LineNo
repeat for each line peptide in card field "audit"
add 1 to LineNo
if char -1 of peptide = "K" then put LineNo & comma after tHilitedLines
end repeat
delete char -1 of tHilitedLines
set the hilitedLines of field "audit" to tHilitedLines
The script from Eric will automatically unselect previous selection
but in case you want to clear all yourself
set the hilitedLines of fld "audit" to empty
Robert
_______________________________________________
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