I am using CR 8.5. This is the fomrula i am trying to use:
if ({Voucher.iPort}<99 and {PLT.strType}='CET') or
mid({Voucher.strBarCode},1,1) or {Device.strDeviceType}='CT'
then {Voucher.iAmount}/100
When I try to save the formula, I get an error message that says "A boolean is required here" with the cursor placed in front of the 'mid' . What am I doing wrong?
if ({Voucher.iPort}<99 and {PLT.strType}='CET') or
mid({Voucher.strBarCode},1,1) or {Device.strDeviceType}='CT'
then {Voucher.iAmount}/100
When I try to save the formula, I get an error message that says "A boolean is required here" with the cursor placed in front of the 'mid' . What am I doing wrong?