Ramco Ramco

Ramco Ramco

  • 419
  • 3.4k
  • 528k

Error - The remaining text does not appear to be a part of the formula

Sep 23 2023 9:03 AM

Hi

  On below code i am getting above error - If not(isNull({Command.DSCRIPTION})) and {Command.DSCRIPTION} <> ""
then (uppercase({Command.DSCRIPTION})) + ChrW(13) + strText
else 
(uppercase({Command.TEXT}))

-------------------------------------------------------------

stringVar strtext = "";
If not(isNull({Command.Text}))
    then strText = (uppercase({Command.TEXT}))
else
    strText = ""

If not(isNull({Command.DSCRIPTION})) and {Command.DSCRIPTION} <> ""
then (uppercase({Command.DSCRIPTION})) + ChrW(13) + strText
else 
(uppercase({Command.TEXT}))

Thanks


Answers (1)