ActiveReports 6 Support

Started by CogentLisa at 03-05-2010 12:17 PM. Topic has 1 replies.

Print Search Rate
Sort Posts:    
   03-05-2010, 12:17 PM
CogentLisa is not online. Last active: 3/6/2010 3:28:49 AM CogentLisa

Not Ranked
Joined on 10-14-2009
Posts 6
Fields in Page Header
I have an issue with a data field in the page header.  For one of our reports we allow users to select a few columns to be displayed in the report.  In creating the report we generate a concatenated string of the names of the columns selected and assign it to a page header field and the values for the selected fields display in the detail area.  Everything shows up as expected on the first page of the report, but if the report goes beyond one page, the page header field does not retain it's value on any page after the first.  I've tried making the field apart of the report datasource...that didn't work.  In addition, I've tried specifically setting the value of that field in the header in various page header events to no avail as well.  Any suggestions on how to accomplish this would be appreciated. 

Thanks, Lisa

   Report 
   03-07-2010, 10:18 PM
AnkitN is not online. Last active: 6/8/2010 6:43:55 AM AnkitN

Top 25 Posts
Joined on 03-03-2009
Posts 844

DDStaff
Re: Fields in Page Header
Hello,

How you are setting the DataFields for the columns in the PageHeader? Could you please provide me the code?

I would also like to inform you that the Page Header section is not intended to be used with controls bound to DataFields. It is for static text/images/etc use only. If you bind controls to a DataField in the Page Header section we can not guarantee that the data will be correct. But you can simulate the pageheader by using a groupheader which contains the bounded controls and set the “RepeatStyle” property of the groupheader to ‘OnPageIncludeNoDetail’. This will repeat the data on every page like a pageheader.

Regards,
Ankit Nigam


   Report 
GrapeCity » Product Support » ActiveReports 6... » Re: Fields in Page Header

Privacy Policy | Copyright © 1997-2012 — GrapeCity, inc.
All trademarks mentioned are the property of their respective owners.