Hi Doris,
When I was leaving yesterday another thought came to my mind. What if your _tally is greater than 65K? That would result in the same error as you're seeing for VFP8 and all VFP9 prior versions, since arrays are limited to ~ 65K elements.
>Unfortunately, I can't replicate the error locally and the client gets a little miffy when you try to test things in production. i was hoping that someone would see something that has eluded me so far.
>
>
If it's not broken, fix it until it is.
My Blog