I set the array count to start at 1, but still not working. Im using v8. Ive also read that the ANY clause runs rediculously slow. Is there another way to convert an array into a record set without writing a separate function for that? Is it even possible to create a record set variable in a function? -Nick