Joined: 16 May 2012
Online Status: Offline
Posts: 2
Topic: Sum custom columns in Crystal Posted: 16 May 2012 at 3:09am
Hi Dear
I have data Like: Price PostPaid 1000$ False 2000$ True 100$ True 1500$ False 20$ False ---------------------------- I need to show sum of price separately like this:
PostPaid : 2100$ PrePaid : 2520$
I Create Formula field and write code but the result is incorrect
Local NumberVar strLen := count({DataTable1.ID}); Local NumberVar result2 := 0; Local NumberVar i := 0;
While i < strLen Do ( If {DataTable1.PostPaid} Then result2 := {DataTable1.Debit} + result2;
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum