I am working on building a form with a user ok and having trouble getting it to work correctly so tried building the function as a quicktext to test it out and found that I am having a terrible time, ready to pull my hair out on this. I have the quick text built
{OBSANY("MSK EXAM")} with a command of .msk
but when I launch it - I get this error. .{OBSPREV("MSK EXAM) <-EXPECTED RIGHT CURLY BRACE
Any suggestions would be most welcome.
Try replacing the " with ' so this {OBSPREV('MSK EXAM')} and see if that works.
.{OBSPREV(“MSK EXAM) <-EXPECTED RIGHT CURLY BRACE
Yes, if you look at the error - it is not showing your closing double-quote, just the closing parenthesis.
Particularly aggravating is how some editors (ms word in particular) change the EMR acceptable double-quotes into word styled double-quotes (they are slanted or curved), which VFE/EMR/MEL does not recognize. Posted code often has its double-quotes messed with. To fix this (when it occurs), I paste into notepad to strip out unwanted characters, then paste back into my code. I do not think single-quotes are required in quicktext obsterms, but if it works - it works.
- Beverly