RP2XS : programatically fix expressions
Posted: Wed Jan 31, 2024 4:49 pm
Hi,
in our current VO product we use RP2 and have hundreds of client-specific reports.
Now that we are migrating to X#, we obviously use RP2-X# too, but the expression parser seem more strict and openning reports that were "valid" on VO/RP2 now show errors.
The errors are legit (missing parenthesis for example) but fixing them via the designer is not an option as it's hard to find where in the report, and because we have hundreds of reports (a lot of them were based on faulty reports)
So we're looking for a way to programmatically fix the reports - at least for the expressions that we know are faulty.
We've tried simply fixing the text in the binray but of course it outputs an invalid report after.
If anyone have experience with that kind of processing we'd be grateful for sharing it !
Best regards.
in our current VO product we use RP2 and have hundreds of client-specific reports.
Now that we are migrating to X#, we obviously use RP2-X# too, but the expression parser seem more strict and openning reports that were "valid" on VO/RP2 now show errors.
The errors are legit (missing parenthesis for example) but fixing them via the designer is not an option as it's hard to find where in the report, and because we have hundreds of reports (a lot of them were based on faulty reports)
So we're looking for a way to programmatically fix the reports - at least for the expressions that we know are faulty.
We've tried simply fixing the text in the binray but of course it outputs an invalid report after.
If anyone have experience with that kind of processing we'd be grateful for sharing it !
Best regards.