I am trying to design a salary receipt on which the details section is divided into two columns, some being printed on the left side and some on the right depending on the code of the detail, eg.
The database is ordered by COD. Then I want the total of each column and a final total which is left-total minus right-total. Is this possible without reverting to subreports? I'm going to try to group by COD and have two group footers, displaying (a) if COD is less than 50 and (b) if 50 or more, using the 'Underlay Follwing Section' option.
Is there a less complicated way?
Any help appreciated.
Code:
!-------------------------------------------------------!
! COD DESCRIPTION VALUE ! COD DESCRIPTION VALUE!
!-----------------------------!-------------------------!
! 001 Salary 5,000 ! 050 Tax Social 320 !
! 006 Premium Bonus 1,000 ! 053 I.R.S. 500 !
!-----------------------------!-------------------------!
! 6,000 ! 830 !
!-------------------------------------------------------!
! Total 5,170 !
!--------------------------------------------------------
Is there a less complicated way?
Any help appreciated.