cancel
Showing results for 
Search instead for 
Did you mean: 

Formula help in Crystal reports please

0 Kudos

Hello Friends,

I have one column that is BILL NUMBER. and 2 measures Payments and Receipts. I need to add one more column on this. Which is challan number.

When there is Receipt amount is appearing show it as challan number.

When there is Payment show it as Bill number. how to write formula for this. Presently

Bill number Payment Receipt

10100010 0.00 100.00

10100011 0.00 200.00

10100012 30.00 0.00

Thanks

Radhika

Accepted Solutions (1)

Accepted Solutions (1)

abhilash_kumar
Active Contributor
0 Kudos

Hi Radhika,

Try:

If {receipts} > 0 Then {Challan Number}
Else if {payments} > 0 Then {Bill Number}

-Abhilash

Answers (1)

Answers (1)

0 Kudos

Thank you Abhilash...It worked well..