I am trying to create two layers of visibility, one that will display "correct" and one that will display "incorrect". I have the one built for "correct", but am having problems getting the "incorrect" one written.
I'm thinking I need something like a watcher expression to say if the value is "correct" enter "T" and if the value isn't "T" then display the "incorrect" as there are many conditions.
Below is my "correct" visibility.
LASTOBSVALUE("SMOK STATUS")=="current every day smoker" OR LASTOBSVALUE("SMOK STATUS")=="current some day smoker" OR LASTOBSVALUE("SMOK STATUS")=="former smoker" OR LASTOBSVALUE("SMOK STATUS")=="never smoker" OR LASTOBSVALUE("SMOK STATUS")=="unknown if ever smoked" OR LASTOBSVALUE("SMOK STATUS")=="smoker - current status unknown"
I currently have this as my "incorrect" visibility, but it is always showing since it could be one wording or another.
LASTOBSVALUE("SMOK STATUS")=="" OR LASTOBSVALUE("SMOK STATUS")<>"current every day smoker" OR LASTOBSVALUE("SMOK STATUS")<>"current some day smoker" OR LASTOBSVALUE("SMOK STATUS")<>"former smoker" OR LASTOBSVALUE("SMOK STATUS")<>"never smoker" OR LASTOBSVALUE("SMOK STATUS")<>"unknown if ever smoked" OR LASTOBSVALUE("SMOK STATUS")<>"smoker - current status unknown"
Any help would be greatly appreciated.
LASTOBSVALUE("SMOK STATUS")==""
OR (LASTOBSVALUE("SMOK STATUS")<>"current every day smoker"
AND LASTOBSVALUE("SMOK STATUS")<>"current some day smoker"
AND LASTOBSVALUE("SMOK STATUS")<>"former smoker"
AND LASTOBSVALUE("SMOK STATUS")<>"never smoker"
AND LASTOBSVALUE("SMOK STATUS")<>"unknown if ever smoked"
AND LASTOBSVALUE("SMOK STATUS")<>"smoker – current status unknown")
Oh for cryin' out loud... figures it was something so simple!
Thank you for saving what was left of my sanity! Works great!