Click here to Skip to main content
15,885,757 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have four datatables like

Table 1
id        name           Afee        Insfee
1         a              100        10
2         b              100        10


Table 2
id        name           Bfee        Insfee
2         b              100        10
1         a              100        10
3         c              100        10


Table 3
id        name           Cfee        Insfee
1         a              100        10
3         c              100        10


Table 4
id        name           Dfee        Insfee
1         a              100         10
2         b              100         10

in the crystal report i want to get the result as

Name       Afee      Bfee      Cfee     Dfee     Insfee    total
a          100       100       100      100      40         440
b          100       100       0        100      30         330
c          0         100       100      0        20         220

where this INSfee should be the sum from all the four table for a particular ID and total should be the sum of a row in that in that report.

How to do this in a sap crystal report.
Posted
Updated 2-Aug-13 11:21am
v2
Comments
MuhammadUSman1 1-Aug-13 8:13am    
You should use StoreProcedure...
Maciej Los 2-Aug-13 17:31pm    
Where are you stuck? What have you done so far?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900