I have a Com project, to print an invoice.
The type and layout may change (thus use of com).

I use an Array to load Header and Detail information

I have a Header Module and a Detail Module.

For some Invoice types it will be necessary to include header
information on the detail line.

Ok, here goes
I have defined the arrays as static within each function.
I could just pass the header information needed into the detail line, or call the header function with a special code to retrieve the relevant data (hokey), or put them both (Header and Detail) into the same function, but I want to keep the functions small and readable.

is there a way for my invoice detail line function to access the data held in the invoice header function, or am I scr*wed


Thanks in Advance

Simon