jannas szas
jannas szas

Reputation: 25

Crystal Report -WhilePrintingRecords

I wrote following formula.

WhilePrintingRecords; numbervar t=0; t={GLTRAN.CRDIFF}-{GLTRAN.DRDIFF}

when crystal report runtime gives
Error formula tot 'whilePrintingRecords' A number is required here Details:errorKind

Upvotes: 1

Views: 2835

Answers (1)

Vijunav Vastivch
Vijunav Vastivch

Reputation: 4191

You can use like this:

Numbervar t:=0;
WhilePrintingRecords; 
t:=tonumber({GLTRAN.CRDIFF})-tonumber({GLTRAN.DRDIFF})

Upvotes: 2

Related Questions