Print Empty record of master detail for cross band
Posted: Thu Jan 24, 2008 10:39 pm
I have used
if (dsBudgetOverRun.Count == 0) Cross_Data4.CountData = 1;
for BeforePrintEvent
and
if (dsBudgetOverRun.Count == 0)
{
Cross_Data4.CountData = 0;
Cross_Data4.DataRelationName = "ProjectSet_BudgetOverRun";
Cross_Data4.DataSourceName = "dsBudgetOverRun";
Cross_Data4.MasterComponent = Cross_Data1;
}
for display the detail with no datacount of the child.
For the normal databand it's work fine but for the cross-band it only display the first data.
I have try to think about to reset data source but I found that it default set to true. So, what is the different setting or any idea about this issue?
if (dsBudgetOverRun.Count == 0) Cross_Data4.CountData = 1;
for BeforePrintEvent
and
if (dsBudgetOverRun.Count == 0)
{
Cross_Data4.CountData = 0;
Cross_Data4.DataRelationName = "ProjectSet_BudgetOverRun";
Cross_Data4.DataSourceName = "dsBudgetOverRun";
Cross_Data4.MasterComponent = Cross_Data1;
}
for display the detail with no datacount of the child.
For the normal databand it's work fine but for the cross-band it only display the first data.
I have try to think about to reset data source but I found that it default set to true. So, what is the different setting or any idea about this issue?