Am trying to define a field so that i can do some manipulations. For example , i need to show the prescription number , hence i need to do some manipulations liek below :
DEFINE FILE XXX RX/P20 = IF RX1 EQ LAST RX1 THEN ' ' ELSE RX#; END
The format of the field is :
RX# E04 P20
Hence when i use P20 as the format i get the below error:
(FOC282) RESULT OF EXPRESSION IS NOT COMPATIBLE WITH THE FORMAT OF FIELD: RX
Even if i use D20 , i get the same error.
Can somebody help please ?
Thanks! JananiThis message has been edited. Last edited by: Kerry,