Welcome Guest! Log in
×

Notice

The forum is in read only mode.
The Stambia User Community is moving to Semarchy! All the applicable resources have already been moved or are currently being moved to their new location. Read more…

Topic-icon Deleted Retrieving the error message

More
22 Aug 2016 17:45 #21 by Thomas BLETON
Replied by Thomas BLETON on topic Retrieving the error message
Une solution possible est de doubler / échaper les apostrophes dans l'expression de la requête.
... VALUES ('%e(rhino){__ctx__.getVariableValue("~/ErrorString").replace("'", "''")}e(rhino)%');

Remarque : il faut employer du scripting rhino, de manière à bénéficier de la fonction replace().