>This looks like something I have written. We have to write some strange code soemtimes to get the job done. Anyway, some thoughts:
>
>Where is the scatter command?
I am gathering from arrays.
>Does 21 need to be hard-coded? Is this approach optimal?
Yes. Maybe.
>Can U use temp table to store sums then just append from that table?
This is basically what I am trying to accomplish.
>Have U checked out the Update command?
This looks interesting. I'll explore further
>Is everything getting into memory properly?
Yes, I checked the array using a wait and the debug tool.
>Well just some quick thoughts. HtwH..
Thanks for your input :-).
John Morrison
"Not everything that counts can be counted,
and not everything that can be counted counts"
-A. Einstein