>>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
>
>You will get an array with every field in your table and every record. So your FCOUNT() * RECCOUNT() is how many variables you are creating.
Chuck,
VFP considers an array as one variable regardless of number of items in it.
--sb--