|
First of all, I would advise against xfooting an entire array into one of it's elements - sloppy and scary, and cause for great confusion to anyone who might try to change the program after you. Next, with 9000 elements, how can you insure that all of them added up won't exceed 9999999.99 ? if the first two elements were over 5,000,000.00 you would already have exceeded your limit for that xfoot. If it's not possible for one of the elements to be that big, make the array element smaller (7,2? 5,2? whatever). If it is possible for it to be that big, then you won't be able to xfoot into itself. ether way, you should use a separate field as the xfoot result, and make it big enough to hold 9000 * the maximum array element value. Rick ---original message------- There are 9000 Elements in the Array and each element is 9, 2. Arrays E $RA 9000 9 2 E $RB 9000 9 2 J = 9000 *Sum up Array elements and place in last element of Array C XFOOT $RA $RA, J C XFOOT $WA $WA,J
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.