Xprogrammer
Programmer
I am attempting to pass an array from a report to a subreport defined in the main report's footer. The array is initialized in the main report's header in a formula field as:
whileprintingrecords;
shared stringvar array MyArray:= ["", "", "","","",""]
numbervar counter1:=1;
Its values are populated in the detail section in a formula field as
whileprintingrecords;
shared stringvar array MyArray;
numbervar counter1;
MyArray[counter1]:= ({REPORT.DesiredFieldName})
In the subreport, i have a @DisplayArrayContents formula field in the detail section with
whileprintingrecords;
shared stringvar array PlaintiffNameArray;
numbervar subcounter;
PlaintiffNameArray[subcounter];
I also have a suppressed @subcounter formula field in the detail section with contents as
whileprintingrecords;
numbervar subcounter;
subcounter:=subcounter + 1
There is also a suppressed database field in the detail section to ensure output.
My challenge is there is no output from the @DisplayArrayContents field even if i have a fixed subscript.
What gives? Any insight/help greatly appreciated.
whileprintingrecords;
shared stringvar array MyArray:= ["", "", "","","",""]
numbervar counter1:=1;
Its values are populated in the detail section in a formula field as
whileprintingrecords;
shared stringvar array MyArray;
numbervar counter1;
MyArray[counter1]:= ({REPORT.DesiredFieldName})
In the subreport, i have a @DisplayArrayContents formula field in the detail section with
whileprintingrecords;
shared stringvar array PlaintiffNameArray;
numbervar subcounter;
PlaintiffNameArray[subcounter];
I also have a suppressed @subcounter formula field in the detail section with contents as
whileprintingrecords;
numbervar subcounter;
subcounter:=subcounter + 1
There is also a suppressed database field in the detail section to ensure output.
My challenge is there is no output from the @DisplayArrayContents field even if i have a fixed subscript.
What gives? Any insight/help greatly appreciated.