Viet If you use QTP you can create a temp variable as a counter, increment it after the OUTPUT statement and have a condition on the OUTPUT IF counter <= 100. Something along those lines anyway. Blue