问题
I have table of accounts.
Note: If Ctrl is 1, it can control another accounts
and I also have table of transactions
All I want is to display this in crystal report that will look like this:
I try to create this but everytime I put TOTAL(Title 1, Title 1-2, Title 1-3) it always appear after the Account Title
回答1:
Actually I feel you have complicated the report design.. You can do it without sub report aswell. Try below approach.
This solution works assuming you have linked the two tables in database expert.
First group the report with below formula.
if ctrl=1 then ctrlNow again group with
ACCTitleIn detail put the calculation fields of 2nd table.
Accttitle and Amount of transaction table.
Place
Account titleandAmountingroup header1Take the respective group summaries..
Let me know after trying this approach
来源:https://stackoverflow.com/questions/24188547/creating-income-statement-design-in-crystal-report