empty report
Posted: Wed Aug 20, 2008 4:31 am
Hi there,
i was trying to implement the report into my application but somehow i always get an empty report, even if there should be some static fields.
my code looks like this:
private void KurepForm_Load(object sender, EventArgs e)
{
StiReport report = new StiReport();
report.LoadDocument(Path.Combine(Path.Combine(SettingsController.Instance.ServerFolder, "Reports"), "CpnKuRepSrv.mrt"));
report.Design();
//report.Show(this.ParentForm);
}
as you can see i'm also trying to open the report in the designer within my application, but also there i get an empty report (no headers defined etc.)
but when i try to open the file in the normal designer everything works perfectly.
did i miss something important?
Thanks for your help
i was trying to implement the report into my application but somehow i always get an empty report, even if there should be some static fields.
my code looks like this:
private void KurepForm_Load(object sender, EventArgs e)
{
StiReport report = new StiReport();
report.LoadDocument(Path.Combine(Path.Combine(SettingsController.Instance.ServerFolder, "Reports"), "CpnKuRepSrv.mrt"));
report.Design();
//report.Show(this.ParentForm);
}
as you can see i'm also trying to open the report in the designer within my application, but also there i get an empty report (no headers defined etc.)
but when i try to open the file in the normal designer everything works perfectly.
did i miss something important?
Thanks for your help