I am using version 9 and I am trying to base a formula on the first two digits in a 12 digit string. I know I would use the LEFT function but I am unsure of the syntax. It would be something like,
if the first two digits are 03 or if the first two digits are 77 then "myfieldname" else {databasefield}.
If the above criteria is not met, I need the formula to return the 8th and 9th digits (MID function?) of the 12 digit string.
Any assistance would be appreciated.
if the first two digits are 03 or if the first two digits are 77 then "myfieldname" else {databasefield}.
If the above criteria is not met, I need the formula to return the 8th and 9th digits (MID function?) of the 12 digit string.
Any assistance would be appreciated.