Print Header Band On All But Page 1
Print Header Band On All But Page 1
I have a long report that resets the page number after a footer band runs. The report also has a header band that needs to run at the top of each page that is NOT page 1. Setting the "Print On" property to "Except First Page" only works on the first page of the entire report, but it doesn't work when the page number resets to 1 (the header band prints on all of the page number 1's except for the first).
How do I prevent the header band from printing on subsequent page 1's in the report?
How do I prevent the header band from printing on subsequent page 1's in the report?
Print Header Band On All But Page 1
Hello.
Thank you.
Please, set the 'Number of Pass' property of the report to 'Double Pass'.MikeC wrote:I have a long report that resets the page number after a footer band runs. The report also has a header band that needs to run at the top of each page that is NOT page 1. Setting the "Print On" property to "Except First Page" only works on the first page of the entire report, but it doesn't work when the page number resets to 1 (the header band prints on all of the page number 1's except for the first).
How do I prevent the header band from printing on subsequent page 1's in the report?
Thank you.
Print Header Band On All But Page 1
And that didn't do anything-the report still prints the header on all the page 1's.Aleksey wrote:Hello.Please, set the 'Number of Pass' property of the report to 'Double Pass'.MikeC wrote:I have a long report that resets the page number after a footer band runs. The report also has a header band that needs to run at the top of each page that is NOT page 1. Setting the "Print On" property to "Except First Page" only works on the first page of the entire report, but it doesn't work when the page number resets to 1 (the header band prints on all of the page number 1's except for the first).
How do I prevent the header band from printing on subsequent page 1's in the report?
Thank you.
Print Header Band On All But Page 1
Hello,
Can you please send us a sample report template with database, which reproduces the issue?
Thank you.
Can you please send us a sample report template with database, which reproduces the issue?
Thank you.
Re: Print Header Band On All But Page 1
Hello,
I am facing the same issue when try to export reports in pdf. All headers are missing on page 2 to n. I have set the number of pass to double on template. One more thing is that I need to combine this report with other report.
Thankyou
I am facing the same issue when try to export reports in pdf. All headers are missing on page 2 to n. I have set the number of pass to double on template. One more thing is that I need to combine this report with other report.
Code: Select all
JoinReports.NumberOfPass = StiNumberOfPass.DoublePass;
JoinReports.Compile();
JoinReports.Render();
JoinReports.CompiledReport.DataStore.Clear();
settings = new Stimulsoft.Report.Export.StiPdfExportSettings();
settings.ImageQuality = 1F;
settings.ImageResolution = 100;
settings.ImageFormat = Stimulsoft.Report.Export.StiImageFormat.Color;
StiOptions.Export.Html.UseImageResolution = true;
JoinReports.ExportDocument(Stimulsoft.Report.StiExportFormat.Pdf, l_strPdfPath, settings);
Re: Print Header Band On All But Page 1
Hello.
Could you describe your issue more detailed?
Please, send us a sample project that reproduces the issue.
Thank you.
Could you describe your issue more detailed?
Please, send us a sample project that reproduces the issue.
Thank you.
Re: Print Header Band On All But Page 1
Please find the template report and xml. I have face this issue with c# code. Report headers are missing when I join more the one sti report objects together using c# code. I have use double pass property in this report and other report execute with single pass. The issue occur when attache report are added at the end.
Re: Print Header Band On All But Page 1
Hello,
Can you show your code where your merge reports?
Thank you.
Can you show your code where your merge reports?
Thank you.
Re: Print Header Band On All But Page 1
Please find the code.
Code: Select all
JoinReports.SubReports.Add(CreateMrtReport(sTempFileName, XMLFILEPATH));
JoinReports.NumberOfPass = StiNumberOfPass.DoublePass;
JoinReports.Compile();
JoinReports.Render();
JoinReports.CompiledReport.DataStore.Clear();
settings = new Stimulsoft.Report.Export.StiPdfExportSettings();
settings.ImageQuality = 1F;
settings.ImageResolution = 100;
settings.ImageFormat = Stimulsoft.Report.Export.StiImageFormat.Color;
StiOptions.Export.Html.UseImageResolution = true;
JoinReports.ExportDocument(Stimulsoft.Report.StiExportFormat.Pdf, l_strPdfPath, settings);
///Function to create sti report.
private StiReport CreateMrtReport(string sTempMrtName, string XMLFILEPATH, string _GlossaryHighlight = null)
{
DataSet dataSet = null;
StiReport report = null;
try
{
dataSet = new DataSet();
dataSet.ReadXml(l_strDataFilePath);
report = new StiReport();
report.Load(sTempMrtName);
report.Dictionary.Databases.Clear();
report.RegData("New Connection", "new", dataSet);
report.Dictionary.Synchronize();
return report;
}
catch (Exception ex)
{
throw;
}
finally
{
dataSet = null;
report.Dispose();
report = null;
}
}
Re: Print Header Band On All But Page 1
Hello.
Sorry, but we still couldn't reproduce your issue.
What Headers are missing on pages?
Do you need to show headers from one report on pages of other reports? Then it's impossible.
Could you describe your issue more detailed? Or better please send us a sample project that reproduces the issue.
Thank you.
Sorry, but we still couldn't reproduce your issue.
What Headers are missing on pages?
Do you need to show headers from one report on pages of other reports? Then it's impossible.
Could you describe your issue more detailed? Or better please send us a sample project that reproduces the issue.
Thank you.