Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Array to 1 Line

Status
Not open for further replies.

alestrada

Programmer
Oct 29, 2003
2
US
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top