travelerII
Technical User
I am using Crystal 10 and I am constructing a trial balance by account and dimension.
I am using a sub report to get the opening balance for each account and then in the main report I sum the transactions by account+dimension add those to the sub report opening balance to get the current balance using the following formula.
{@Shared Var Opening Balance}+Sum ({@Amount}, {@Account and Dimension})
All that works fine except there are transactions I need to exclude from the report. In this case transaction whose number starts with "NP". I do this with the select expert which uses the following formula
not ({GACCENTRYD.NUM_0} startswith "NP")
The problem is that in two accounts, in this case 3000 and 3200, the only transactions are ones that start with "NP". This is causing my report to drop both 3000 and 3200 I assume because there are no transactions even though there is an opening balance from the sub report that should be reflected.
I have tried a number of approaches to fix this but have been unsuccessful.
Any thoughts would be greatly appreciated.
I am using a sub report to get the opening balance for each account and then in the main report I sum the transactions by account+dimension add those to the sub report opening balance to get the current balance using the following formula.
{@Shared Var Opening Balance}+Sum ({@Amount}, {@Account and Dimension})
All that works fine except there are transactions I need to exclude from the report. In this case transaction whose number starts with "NP". I do this with the select expert which uses the following formula
not ({GACCENTRYD.NUM_0} startswith "NP")
The problem is that in two accounts, in this case 3000 and 3200, the only transactions are ones that start with "NP". This is causing my report to drop both 3000 and 3200 I assume because there are no transactions even though there is an opening balance from the sub report that should be reflected.
I have tried a number of approaches to fix this but have been unsuccessful.
Any thoughts would be greatly appreciated.