Back to forum list… Back to How Do I?...

Replace Function with % (1 reply)

Raoul Duke
6 years ago
Raoul Duke 6 years ago

I need to replace a % with # in a field, but as % is the Iman field identifier, I keep getting an error.

Replace(%Invoice,"%","#")

Is there anyway to tell Iman this is the character I want to replace. Have tried various brackets, but still doesn’t like it.

Support
6 years ago
Support 6 years ago

Try replace the string with % with the Chr function, where 37 is the % character (look this up using the Ascii table).

Replace(%Invoice, Chr(37), "#")

Contact

    Realisable Software Ltd provides code-free, cost-effective applications integration solutions for SMEs. Our core IMan product is designed to integrate almost any application with a number of Sage solutions and online payment processors.

    Looking to purchase IMan, please see our resellers here.

    Realisable Software
    Ph: +44 (0) 208 123 1017

    Copyright © Realisable. All rights reserved.
    Realisable is a registered trademark

    Close

    Request Demo

      Realisable Software Ltd provides code-free, cost-effective applications integration solutions for SMEs. Our core IMan product is designed to integrate almost any application with a number of Sage solutions and online payment processors.

      Looking to purchase IMan, please see our resellers here.

      Realisable Software
      Ph: +44 (0) 208 123 1017

      Copyright © Realisable. All rights reserved.
      Realisable is a registered trademark

      Close

      Access Downloads

        Realisable Software Ltd provides code-free, cost-effective applications integration solutions for SMEs. Our core IMan product is designed to integrate almost any application with a number of Sage solutions and online payment processors.

        Looking to purchase IMan, please see our resellers here.

        Realisable Software
        Ph: +44 (0) 208 123 1017

        Copyright © Realisable. All rights reserved.
        Realisable is a registered trademark

        Close