Forgive me all still learning this.
CR 9 SQL Server 2000/Baan win XP
I have tried this several ways, but I see advantages and disadvantages to group selection. Maybe someone can help me figure out what I wam doing wrong.
If I do a record selection it slows my report to over 3 min, however if I do a group selection my report is now about 30 seconds.
I have an issue though.. In the group tree the records which were omitted from the report still show there. How do I suppress them from the group tree if they are already ecluded from the report by a group record selection?
Here are the statements I am using:
Record:
{tfacr200.ttyp} = "SO1" and
{tfacr200.balc} > 0.00
and DateDiff ("d",{tfacr200.dued} ,CurrentDate )>= 10
Group:
{tccom010.crra} in {?CredAnalStart} to {?CredAnalEnd} and
{tccom010.cfcg} in {?CustGroupStart} to {?CustGroupEnd} and
{tccom010.cuno} in {?CustNoStart} to {?CustNoEnd}
I have tried to combine all this, but the report takes forever such as:
{tccom010.crra} in {?CredAnalStart} to {?CredAnalEnd} and
{tccom010.cfcg} in {?CustGroupStart} to {?CustGroupEnd} and
{tccom010.cuno} in {?CustNoStart} to {?CustNoEnd}and
{tfacr200.ttyp} = "SO1" and
{tfacr200.balc} > 0.00
and DateDiff ("d",{tfacr200.dued} ,CurrentDate )>= 10
Any help would be appreciated
CR 9 SQL Server 2000/Baan win XP
I have tried this several ways, but I see advantages and disadvantages to group selection. Maybe someone can help me figure out what I wam doing wrong.
If I do a record selection it slows my report to over 3 min, however if I do a group selection my report is now about 30 seconds.
I have an issue though.. In the group tree the records which were omitted from the report still show there. How do I suppress them from the group tree if they are already ecluded from the report by a group record selection?
Here are the statements I am using:
Record:
{tfacr200.ttyp} = "SO1" and
{tfacr200.balc} > 0.00
and DateDiff ("d",{tfacr200.dued} ,CurrentDate )>= 10
Group:
{tccom010.crra} in {?CredAnalStart} to {?CredAnalEnd} and
{tccom010.cfcg} in {?CustGroupStart} to {?CustGroupEnd} and
{tccom010.cuno} in {?CustNoStart} to {?CustNoEnd}
I have tried to combine all this, but the report takes forever such as:
{tccom010.crra} in {?CredAnalStart} to {?CredAnalEnd} and
{tccom010.cfcg} in {?CustGroupStart} to {?CustGroupEnd} and
{tccom010.cuno} in {?CustNoStart} to {?CustNoEnd}and
{tfacr200.ttyp} = "SO1" and
{tfacr200.balc} > 0.00
and DateDiff ("d",{tfacr200.dued} ,CurrentDate )>= 10
Any help would be appreciated