Domino & Notes error

Inappropriate unary use of an operator

Formula compile error, shown when saving the formula.

What it means

An operator in the formula is missing one of the values it needs on either side.

Common causes

  • A stray operator, such as * or +, left after editing
  • A missing field name or value between two operators
  • Unbalanced brackets that leave an operator with nothing to act on

Quick fixes

  1. Look near the cursor position Designer shows for the stray or doubled operator
  2. Make sure each operator, except a leading minus or !, has a value on both sides
  3. If you are a user, tell the application designer; the formula needs fixing

Need a hand with this?

Paste your exact message into What's That Error? for a plain-English explanation, or get in touch. I've been supporting Domino and Notes for 28 years.

Disclaimer

The errors, causes and fixes on this site are carefully researched, drawing on HCL documentation and 28 years of hands-on Domino and Notes experience. Every environment is different, though, and a solution that works in one may not be right for yours. Exact wording can also vary between Domino and Notes versions.

This information is general guidance only and is provided without warranty of any kind. Always back up your data and test changes on a non-production system first. To the extent permitted by law, Bruinsma Services Pty Ltd accepts no responsibility or liability for any loss, damage, downtime or other consequence arising from use of this information. For advice specific to your environment, please contact me.