Click here to Skip to main content
15,887,485 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi
I want to display 2 Copies of same report in single page. the problem is (in details section it could be multiple records and I am using group to categorize my data).

What I have tried:

I created a formula and added this in report footer section.

WhileReadingRecords;
Global stringvar letters;
letters := letters + {HMIS_viewTestDetail.testName} + ', '

This work fine for first group. In the next group it is not resetting the data.
for example my view has the following data

ID, depId, depName, testName
1, 1, XRAY, Bone x-ray
2, 1 XRAY, Muscle x-ray
3, 2, Ultrasound, Abdominal Ultrasound
4, 2, Utrasound, Carotid Ultrasound

In the first group my formula is displaying "Bone x-ray, Muscle x-ray" which is ok and next group it is displaying "Bone x-ray, Muscle x-ray, Abdominal Ultrasound, Carotid Ultrasound" instead of "Abdominal Ultrasound, Carotid Ultrasound"

Any help will be appreciated.... Thanks in Advance...
Posted
Updated 10-Apr-21 20:46pm
v4

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900