Skip to Content

invalide Sectiontype, with ReportFooterSection when copied to another Report

May 05, 2017 at 10:18 AM


avatar image

I discoverd a strange behaviour, when I try to copy the ReporFooterSectoion or PageFooterSection, programmatically with c# RAS. If the SrcRpt was created with the CR-Designer I get this Error-Msg:

ERROR-Msg: Invalide Sectiontype

Even if I try to copy a new created, empty, report.

I dont get this error if I copy a report I created programmatically. Link

Why? I don't get the difference to the other sections/areas (like ReportHeader, DetailsSection, ...)?

Why can I copy these sections with all contained objects, but not these two?

simplified Copy-Code:

for each ( area in srcAreas )
 var sectionIndex = 0;
 for each ( srcSection in srcSections)
  (srySection, area, sectionIndex);


10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers