I am attempting to pull in the value of a field. If the value is null, I want the result to be "n/a". If there is a value in that field (CopyBarcode), I want the last seven digits of that value to populate.
This is the code I am trying:
AssetNum: IIf(([Admin_Copy]![CopyBarcode])="", "n/a", "Right([Admin_Copy]![CopyBarcode],7)"
When I enter this, I get an this error: "The expression you entered is missing closing parenthesis, bracket (]), or vertical bar(|).
I have tried a variety of things to correct this, but I keep getting the same error, regardless of what I try. As usual, I'm sure this isn't a difficult thing to do, but I'm stuck!
Thanks for any help you can give me.