for this you need a complete interation of the dataitem before printing. In every iteration You concatenate the field values in a string and in footer display the concatenated string variables. This is what I have been able to do till now !!!
What you could do is buffering records in a temp record or an array. Then keep track of how many records you have buffered and print after a x records.
Try not to use the currform.showoutput statement. It doesn't work
(unless it's fixed in 3.70, anyone?)
Maybe something like this is a solution:
customer <Customer>
Integer <PrintCustomers>
Customer - OnAfterGetRecord
NumbCustomersBuffered :=
NumbCustomersBuffered + 1;
Cust[NumbCustomersBuffered] := Customer.name;
PrintCustomers - OnPreDataItem
IF NumbCustomersBuffered MOD 5 <> 0 THEN
currreport.break;
NumbCustomersBuffered := 0;
PrintCustomers - body (section)
Cust[1]
Cust[2]
Cust[3]
Cust[4]
Cust[5]
*code not been tested.
[Duplicate messages deleted by Administrator]
"Real programmers don't comment their code.
If it was hard to write, it should be hard to understand."
Comments
for this you need a complete interation of the dataitem before printing. In every iteration You concatenate the field values in a string and in footer display the concatenated string variables. This is what I have been able to do till now !!!
regards,
Jyotsna
What you could do is buffering records in a temp record or an array. Then keep track of how many records you have buffered and print after a x records.
Try not to use the currform.showoutput statement. It doesn't work
(unless it's fixed in 3.70, anyone?)
Maybe something like this is a solution:
*code not been tested.
[Duplicate messages deleted by Administrator]
If it was hard to write, it should be hard to understand."
Read them all! Then you will never forget!
just in case I get angry replies.... It wasn't me... It was the forum. It got all weird on me!
If it was hard to write, it should be hard to understand."