Posted 7 March 2019, 7:09 am EST
Hello,
As you know that RecordSource cannot be set at chart level, you can still set the DataSource property of the field in the Header.OnPrint property:
Field1.DataSource="DataSource1"
I have attached the modified report for your reference. However, as per proper report layouts, I would suggest you to set the DataSource of the Field in GlobalScripts property of the report.
As I do not have your data, I can presume that the issue occurs because of some invalid comparison in the grouping scenario. Please try modifying the code under “Customer ID Footer.OnPrint” and “CustID2_Header.OnPrint” properties at your end to see if the issue is resolved in Flexreport. Note that there are some differences among the two reports because of which the issue might only be occuring in FlexReport. However, I cannot comment on it further without replicating the issue at my end. For this, you can either modify the attached report or share your dummy data.
In case you wish to provide data privately, you can create a ticket on SupportOne: https://supportone.componentone.com
Regards,
Esha
ChartInGroupHeader_mod.zip