List Binding - Fields bound in Report Footer are empty

Posted by: bplante on 21 June 2019, 12:48 am EST

  • Posted 21 June 2019, 12:48 am EST

    Hi,

    I am using .net Active Reports 12.3 and binding the data source to a List that is populated in the Start() method of the script.

    I am noticing that if I bind a control in the report footer to one of the members of the objects within the list, the field’s value is null unless that field was already accessed in the detail or page header sections. Simply iterating over the field collection and accessing the value of each field seems to be enough to have that field bindable in the Report Footer.

    public void Detail_Format()
    {
    
    	foreach (Field f in rpt.Fields)
    	{
    		object a = f.Value;
    	}
    }
    

    I’ve also solved it in another report by setting invisible controls in the page header that are bound to those fields in the report footer.

    I’m wondering if this is supposed to happen in active reports and if so, is there a better solution than iterating over the fields or setting invisible controls.

    Thanks,

    Ben

  • Posted 24 June 2019, 12:38 am EST

    Hi Ben,

    We are working on your query and will get back to you once we are done.

    Thanks.

  • Posted 24 June 2019, 11:19 pm EST

    Hello Ben,

    I could observe the issue and have reported the same to the concerned team (Internal Tracking ID: 273600).

    Will get back to you once I receive any information on this.

    Thanks,

    Esha

  • Posted 1 July 2019, 9:23 pm EST

    Ben,

    The issue has been fixed internally and the builds with the fix shall be released with AR 13 SP 2.

    Thanks,

    Esha

  • Posted 2 July 2019, 7:48 pm EST

    Hello,

    I could observe in our records that you have ActiveReports 13 license.

    Please inform if you wish to receive the hotfix builds containing the fix.

    Thanks.

  • Posted 8 July 2019, 7:18 am EST

    Hi Esha,

    Thank you for your prompt help on this.

    We do not need the hot fix builds as we are now using the XML Data Source and intending to upgrade to Active Reports 13 soon.

    Regards,

    Ben

  • Posted 8 July 2019, 6:28 pm EST

    Thank you for the information, Ben.

    Regards.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels