Page 1 of 1

LoadEditableFields not populating correct report fields.

Posted: Wed May 13, 2009 9:02 am
by bfransen
Hi,

In my report, I have a databand that contains an editable text field.

We call report.SaveEditableFields to extract the user entered content.

We then use report.LoadEditableFields at a later time to populate the report fields with content.

The problem I have is that when the databand repeats the editable text field on the same page of the report, the SaveEditableFields method creates XML that looks like this:



Text14
0
1
adfasdfasdf


Text14
0
3
22

...

When I use LoadEditableFields to populate the report, Item1 gets populated into the first editable field and Item2 gets populated into the third editable field. The second editable field is not populated. This pattern continues for all editable fields that are repeated on a page, so the effect is only fields with an odd Position are populated.

I notice the Position property in the XML above is missing position 2. This is true for the entire XML; all of the even positions are missing. If I manually edit the XML to have the missing position numbers, the report is populated correctly.

Does anyone know why my editable fields are written to XML this way (missing even position numbers)? Is there something else I need to set up to make sure when I SaveEditableFields the XML will be such that LoadEditableFields will populate the report correctly?

Thank you for your help,

Ben

LoadEditableFields not populating correct report fields.

Posted: Thu May 14, 2009 6:13 am
by Andrew
Could you please send your report for analysis and reproducing the issue?

Thank you.