Thanks Karen, The article covers a good portion of what I was asking. (And should help me make some small improvements!) Unfortunately, if you are outputting information from a database, you are pretty much locked into 'context switching' in your output. I'll load some diagnostic print statements in my code to try to isolate and improve small blocks at a time and see what happens. Thanks! RonL. -----Original Message----- From: Karen J. Bowen [mailto:karen at miinx.com.au] There are a couple of interesting articles about kinda related issues on 4 Guys From Rolla: http://www.4guysfromrolla.com/webtech/010202-1.shtml http://www.4guysfromrolla.com/webtech/010202-1.2.shtml