Percent Sign in a user description for GL40

Sort:
You are not authorized to post a reply.
Author
Messages
Ken Carley
Basic Member
Posts: 7
Basic Member

    How do I pass the percent sign(%) in the description field to GL40.1?  I will still be working on it but I don't seem to find it here yet.

    Here is the relavant section of the call:

    &GLT-DESCRIPTIONr0=Precert team 25% reclass

    Thanks for your help.

     

    Ken

    Gary Davies
    Veteran Member
    Posts: 248
    Veteran Member

      "&GLT-DESCRIPTIONr0="+escape("Precert team 25% reclass")

      or

      "&GLT-DESCRIPTIONr0=Precert team 25%25 reclass"

      Ken Carley
      Basic Member
      Posts: 7
      Basic Member
        I tried that I swear!!

        Thanks Gary, the 25%25 is what I expected to work the first time. It worked this time but the +escape caused an error.

        Thanks again,
        Ken
        Gary Davies
        Veteran Member
        Posts: 248
        Veteran Member

          If you are doing it within the AGS node the escape would not work. You would have to create a variable and do an assign first then reference the variable in the AGS call:
          You could build the whole ags call or part of it in the variable as such

          Assign:
          var AGSCallDesc = ""&GLT-DESCRIPTIONr0="+escape("Precert team 25% reclass");

          AGS:

          _PDL=....<!--SCallDe-->.<!--SCallDe--> < !AGSCallDesc>
           

          Ragu Raghavan
          Veteran Member
          Posts: 468
          Veteran Member
            Thanks for thiis thread. Helped me with a current problem.

            Ragu
            You are not authorized to post a reply.