Notifications
Clear all
Topic starter
I am wondering, can you use the SUB symbol in a banner ? I tried adding the following, but am getting an error.
{if OBSANY("PRAC1DISCHG") <> "" and SUB(OBSANY("PTDISCH",1,3)) == "DCP" then " DCP " else "" endif}
Error states I need a comma or a THEN statement... not sure why.
Thanks...
John Mazurowski
Faxton St. Lukes healthcare
Posted : August 30, 2013 4:01 am
Paranthesis is in the wrong place
{if OBSANY("PRAC1DISCHG") <> "" and SUB(OBSANY("PTDISCH"),1,3) == "DCP" then " DCP " else "" endif}
Posted : August 30, 2013 4:34 am
Topic starter
Thank you !! Sometimes the easiest things prove to be the most difficult. 🙂
Posted : August 30, 2013 5:24 am