Works fine thanks. Glad that you found out about how naming things sometimes causes them not to function. Had another situation where I named the global my_total_price and it wouldn't give me the total, renamed it to do_total_count2 and it worked fine for me. Strange stuff.