Never mind a_modified _dog... I screwed something up in the fla where the randArray was not working right. I tested it with the complete db and it seems to be working fine. Thanks a lot again. Your help is very much appreciated. I will try to get the range choice buttons work . I'll come back to either ask for more help or to close the thread.