Can someone point me to how do a simple loop given a variable which indicates the top limit of the loop. So, given x, I want to create... <option>1</option> <option>2</option> ... <option>x</option> Thanks, ------- Regards, Graham Chiu gchiu<at>compkarori.co.nz http://www.compkarori.com/dynamo - The Homebuilt Dynamo http://www.compkarori.com/dbase - The dBase bulletin