Quantcast
Channel: Crystal Reports
Viewing all articles
Browse latest Browse all 1507

Formula Value

$
0
0

Hi

  I have below formula . I want  if Amount is + ve then 'Debit' , if -ve than 'Credit' , if  0 then '' in another column.

WhilePrintingRecords;
CurrencyVar Amount;
Amount := Amount + {spGeneralLedger0;1.Debit} - {spGeneralLedger0;1.Credit};

Thanks


Viewing all articles
Browse latest Browse all 1507

Trending Articles