Array create
Array create
I am using R&R version 10.X____I need to read a file (Scan) and take each record fitting to the condition and populate a line like an array.____Eg: Scanned file gives 5 records and the line in the report should have the value from the first record in the first location, the second in the second location, third in the third location etc.____If there are only 2 records then only two items should appear in the line one after the other. If there aren^t any then the line should be blank. ____I have been trying to do this for a longtime and have not found any solution. Would appreciate if any one out there would help me.____Thanks in Advance
=> RE: Array create
Look at the article:____http://www.livewarepub.com/ftp/TechDocs/Printing_Related_Records.pdf ____and see if that technique might help.____Kathleen__R&R Support__
==> RE: Array create
Thanks kathleen.____Is there any way I could print something which is normally printed on a detail line band on the header band.____What I am trying to do here is that to print the first set of values of the array (generated by detail line) to print on the header line at a specific location and then continue to print below on the detail line.____Group header line : XXXXXX XXXX XXXXX ARRAY DATA XXXXX XXXX__Detail Line: ARRAY DATA__Detail Line: ARRAY DATA____Thanks in Advance__Radha
===> RE: Array create
You can use a pre-processed total to print something in the header band. For a character field the total would be a maximum of the field.____This might work here.____Kathleen__R&R Support
====> RE: Array create
Kathleen,____I did read through the document and tried to create the array, but when I tried the calc PRODLIST:____IIF(COUNT=1,SCOD+" ",PRODLIST+SCOD+" ")____R&R came up with an error message and could not get this even saved as a calculation.____The error message is: Unrecognized name or operator and the cursor is in front of the word PRODLIST.____SCOD is a character field and I am not sure as to why this error messgage comes up.____Would appreciate your assistance