Passing Values in Array
Mike Schwartz
mschw at athenet.net
Wed Nov 9 06:34:47 PST 2011
> Is there a way to populate an array in Sort/Select processing and access
the
> values in the array in Output processing?
>
> Scott Walker
My tip for the day:
Jeff Harrison already suggested putting the array into the automatic
processing table.
I think you have to remember to make the array global; at least I've
always done that.
I also suggest creating a *separate* automatic processing table with
the (global) array in it and run the report using the "-Y" option on the
d/rreport command line. Some of the toughest troubleshooting problems I've
run into were caused by somebody adding new variables into the standard
auto.prc or prc.automatic table without any regard as to whether those
variables were used for some other purpose in the other output processing
tables.
By running a separate automatic processing table, you can also bypass
any unnecessary lookups or other calculations that are in the default
automatic processing table, thereby speeding up your reports.
The downside is that if you do make any changes to your default
automatic processing table, you have to check all of these other automatic
processing tables to see if you need to make the same changes to them. You
might want to consider a standard naming convention for these other
automatic processing tables, like autocust, autohours, etc.
Mike Schwartz
More information about the Filepro-list
mailing list