>Thanks for the tip. I didn't have an MVCOUNT in the config file but I put one in there with the max allowed according to MSDN (64000) and that didn't do it. What exactly do you mean by a recursive call? Here's the statement causing it...
>
>SELECT * FROM TmpData ORDER BY cSite, ddate INTO ARRAY aTmpData
Does that select cause an array with more than 64,000 elements? How many records are returned and what size are the fields?