Hi Edward,
We are using stimulsoft 2008.1.146.0 ASP.Net 2.0
We did following steps:
1. Assign 2 dataTable(Table, Table1) to Sample.mrt
2. Table is used Heading display purpose
3. Table1 is assigned DataBand and Render
4. If Row count > 0 then Report rendered properly, But our case
5. If Row count =0 || Row count <0 then display Empty DataBand with Border.
6. We set Print if Detail Empty =true in DataBand and HeaderBand
7. But Not display EmptyDetails.
8. How it solve it.
Its urgent Help.
Please kindly provide solution.
Thanks in Advance,
Print if Detail Empty =true is not working
-
- Posts: 101
- Joined: Wed Jul 26, 2006 8:03 am
- Location: CHENNAI-TN, INDIA
Print if Detail Empty =true is not working
Marimuthu K
Print if Detail Empty =true is not working
Thank you for the sample mdc file of the rendered report. Please send a report template (mrt) file as well.
Thank you.
Thank you.
-
- Posts: 101
- Joined: Wed Jul 26, 2006 8:03 am
- Location: CHENNAI-TN, INDIA
Print if Detail Empty =true is not working
I sent mrt and sample xml file thr' mail
Thanks
Thanks
Marimuthu K
Print if Detail Empty =true is not working
Please make the following modifications in your code:
In the BeforePrintEvent of the Page add the following code:
Also in Text25.GetValueEvent you need to slightly change your code:
Please let us know if any help is required.
Thank you.
In the BeforePrintEvent of the Page add the following code:
Code: Select all
if (Table1.Count == 0)
{
Data1.CountData = 1;
}
Code: Select all
if((Table1.clsrm_nm=="") ||(Table1["clsrm_nm"] is System.Nullable))
{
e.Value=" Unassigned ";
}
else
{
e.Value=Table1.clsrm_nm;
}
Thank you.