Page 1 of 1
Maintain First Patient Context Across Multi-Page DataBand
Posted: Mon Mar 23, 2026 2:55 am
by pixsdp
I want two databand in same a4 with first patient name, the issue occure when right databand has data more than one page then another page display next patient name, that wrong it should display first patient name.

Re: Maintain First Patient Context Across Multi-Page DataBand
Posted: Mon Mar 23, 2026 8:54 pm
by Lech Kulikowski
Hello,
In this case, you need to use a copy of your data source for the patient name.
Thank you.
Re: Maintain First Patient Context Across Multi-Page DataBand
Posted: Tue Mar 24, 2026 4:28 am
by pixsdp
Lech Kulikowski wrote: ↑Mon Mar 23, 2026 8:54 pm
Hello,
In this case, you need to use a copy of your data source for the patient name.
Thank you.
Hi ,
We need to filter data by profiletype like this:
O = One Day
C = Continue
For the report:
Show 1 AN per page only
If the AN changes, start a new page immediately
Do not mix multiple ANs on the same page
Also:
If one AN has a lot of records and spans multiple pages, keep showing the same AN on those pages
Only move to the next AN after finishing the current one
Currently, we have an issue with the patient name in the report:
When one AN spans multiple pages,
the next page sometimes shows the patient name from the next AN, which is incorrect
Expected behavior:
All pages belonging to the same AN should display the correct patient name of that AN
The patient name must not change until the report moves to a new AN
Could you please clarify how to properly structure the data source or grouping to fix this?
And whether using a separate data source for the patient name is the correct approach in this case?
Thank you.
Re: Maintain First Patient Context Across Multi-Page DataBand
Posted: Tue Mar 24, 2026 3:49 pm
by Lech Kulikowski
Hello,
In this case, you need to use the group bands. The modified report in the attachment.
Thank you.
Re: Maintain First Patient Context Across Multi-Page DataBand
Posted: Wed Mar 25, 2026 2:44 am
by pixsdp
Lech Kulikowski wrote: ↑Tue Mar 24, 2026 3:49 pm
Hello,
In this case, you need to use the group bands. The modified report in the attachment.
Thank you.
Hi,
From my file, you can see that different patients (different names or AN) are appearing on the same page. I want the report to start on a new page whenever the patient changes, even if the patient has medications only on one side — either the right side (Continue) or the left side (Oneday).
Currently, I am filtering by profileType in the databand. What would be the best approach to handle this?
Thank you.
Re: Maintain First Patient Context Across Multi-Page DataBand
Posted: Wed Mar 25, 2026 8:37 am
by Lech Kulikowski
Hello,
In this case, you can use the master-detail option instead of grouping.
Thank you.