Using CR vers 9.2.2.693
I have the following formula:
WhilePrintingRecords;
StringVar last3actscom;
last3actscom := last3actscom+"|"+ {V_ACTIONS_MM.ACTCOMM}
The problem is that the field {V_ACTIONS_MM.ACTCOMM} can be very many characters long which would make the string variable over the limit of 65,534 characters.
How do I limit this variable so it will only do while the length is allowable? By the time it gets that long I don't need the data so ok to stop the loop at that limit. But how is this done? I'm imagining something like this somewhere in the formula:
while length(last3actscom)<65534 do last3actscom
but no matter where I put it, I keep getting the processing error: a string can at most be 35534 characters long.
Any help on this would be greatly appreciated. Thanks.
I have the following formula:
WhilePrintingRecords;
StringVar last3actscom;
last3actscom := last3actscom+"|"+ {V_ACTIONS_MM.ACTCOMM}
The problem is that the field {V_ACTIONS_MM.ACTCOMM} can be very many characters long which would make the string variable over the limit of 65,534 characters.
How do I limit this variable so it will only do while the length is allowable? By the time it gets that long I don't need the data so ok to stop the loop at that limit. But how is this done? I'm imagining something like this somewhere in the formula:
while length(last3actscom)<65534 do last3actscom
but no matter where I put it, I keep getting the processing error: a string can at most be 35534 characters long.
Any help on this would be greatly appreciated. Thanks.