My fld "seatNo" has more than one line or item I want to repeat the code below for each line or item on mouseUp put fld "seatNo" into tseatNo repeat with x = 1 to the number of buttons if tseatNo = the label of button x then set the backgroundcolor of button x to red end if end repeat end mouseUp Liam Lambert liamlambert at mac.com IRELAND