I've been reading the articles on improving performance by building select boxes with the getString method from a recordset. I would like to enhance this technique by flagging selected options with the "selected" attribute. The only way I can think to do it is to use the Replace function on the string. I am wondering if using the Replace function several times in a loop negates the performance advantage of using getString in the first place. So it's either loop over the recordset and test each value it see if it's selected or loop through the selected values and use the Replace function one or more times to insert the "selected" attribute. Any thoughts? Thanks.