Bruce, I don't see how your loop construction advances the
record pointer. I tried it and the array was populated with the
first record, x times.
I changed it to a CFOUTPUT with a query referent, and
incremented a counter variable to set the array element
number.