handle report variable substitution inside arbitrary literal strings and escape "%" characters used inside SQL literal strings to avoid parameter replacement problems (fixes #2773)
Authored by: mgood 2006-02-26
Parent: [r2940]
Child: [r2942]