Hi Len I have colored lines before here is the code it might help put 0 into tCounter repeat for each line tLine in fld "booking" add 1 to tCounter if "reservation" is in tLine then set the textColor of line tCounter of fld "booking" to red end if end repeat Liam IRELAND liamlambert at mac.com