Reebo's formula will error out if the result string exceeds 254 characters in version 8.5 or earlier. If this is the case, you will need to create a string var array, and as each element of the array approached 254 characters, assign the string to the array, then reset your string to null, then continue concatenating until it approaches 254 characters, etc.
If you are in version 9 I believe the limitation is 64,000 characters.
Software Sales, Training, Implementation and Support for Exact Macola, eSynergy, and Crystal Reports
In Reebo's solution it concatenates at each record step by step.i need to concatenate it once only, till the end.How can this be done and i have to use this formula as group.
Maybe it's just me, but I'm a bit confused. I think you should explain what you want and give some example data. Also, what version of Crystal Reports are you using.....
Ok, the data looks something like this:
----------------------------------
field1 field2 field4
Anil Kumar BOM
Anil Kumar DEL
Anil Kumar ALH
Anil Kumar KER
Sunil Singh BOM
Sunil Singh DEL
Sunil Singh ALH
Sunil Singh KER
Amit Misra MDR
Amit Misra CHN
Amit Misra PNJ
Sumit Mittal MDR
Sumit Mittal CHN
Sumit Mittal PNJ
------------------------------------------
I want to group them like this:
-----------------------------------------
BOM/DEL/ALH/KER
field1 field2
Anil Kumar
Sunil Singh
MDR/CHN/PNJ
field 1 field2
Amit Misra
Sumit Mittal
-------------------------------------
You can create a group on field4. In the Insert Group dialog box, choose specified order. Name the groups "BOM/DEL/ALH/KER", "MDR/CHN/PNJ", and whatever else you may need. Set the criteria for each group as you create them.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.