I am trying to print an array into 1 line. I need to put it in the footer if I can. I have borrowed this code but it didn't do it.
whileprintingrecords;
numbervar Counter:=1;
stringvar Array Output1:= [{rpBench.ExInfo1}];
Stringvar OutputString:="";
For Counter:=1 to ubound(Output1) do(
OutputString:=OutputString+Output1[counter]+" "
);
Outputstring
It just prints it as an array, but what I want to do is collect all the variables in {rpBench.ExInfo1} and then print them to a footer. {rpBench.ExInfo1} is the field that will be printed in one line. I am getting desperate and the boss will have my head on a platter if I don't do it quick. Thanks.
whileprintingrecords;
numbervar Counter:=1;
stringvar Array Output1:= [{rpBench.ExInfo1}];
Stringvar OutputString:="";
For Counter:=1 to ubound(Output1) do(
OutputString:=OutputString+Output1[counter]+" "
);
Outputstring
It just prints it as an array, but what I want to do is collect all the variables in {rpBench.ExInfo1} and then print them to a footer. {rpBench.ExInfo1} is the field that will be printed in one line. I am getting desperate and the boss will have my head on a platter if I don't do it quick. Thanks.