Hi
Using Crystal 10 and Oracle 8i
I need to create a formula that translates a code into text and am currently doing this with a simple if, then, else statement. It is fairly long and tedious and was wondering if there is a better way of doing it.
When using a different report writer some years ago there was a function called Case that worked like an if, then, else. e.g.
CASE(ATTENDANCE.NOATT_COD,'CHEQUE','CHEQUES','INVOIC','INVOICE_REQUEST',
'PDCARD','CARD_PAYMENT','PDWEB','WEB_PAYMENT','TXCHQ','TRANSFER','OTHER')
The case statement in Crystal doesn't seem to do the same and I'm not a programmer/developer so appears quite complicated to me.
Is there a similar function in Crystal?
Many thanks
jcl5
Using Crystal 10 and Oracle 8i
I need to create a formula that translates a code into text and am currently doing this with a simple if, then, else statement. It is fairly long and tedious and was wondering if there is a better way of doing it.
When using a different report writer some years ago there was a function called Case that worked like an if, then, else. e.g.
CASE(ATTENDANCE.NOATT_COD,'CHEQUE','CHEQUES','INVOIC','INVOICE_REQUEST',
'PDCARD','CARD_PAYMENT','PDWEB','WEB_PAYMENT','TXCHQ','TRANSFER','OTHER')
The case statement in Crystal doesn't seem to do the same and I'm not a programmer/developer so appears quite complicated to me.
Is there a similar function in Crystal?
Many thanks
jcl5