xsharp.eu • RP2XS : programatically fix expressions
Page 1 of 1

RP2XS : programatically fix expressions

Posted: Wed Jan 31, 2024 4:49 pm
by baramuse
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.

Re: RP2XS : programatically fix expressions

Posted: Thu Feb 01, 2024 9:26 am
by robert
Basile,
We are working on saving reports in XML format. That would make it much easier to locate and fix expressions.
When do you need this?

Robert

Re: RP2XS : programatically fix expressions

Posted: Fri Feb 02, 2024 9:39 am
by baramuse
Hi Robert,

we're not in a rush, our main product is not production ready in x#, but that's one of the checkbox we need to tick before we can launch.
What would be your possible timeframe (roughly) ?

Regards.

Re: RP2XS : programatically fix expressions

Posted: Sat Feb 03, 2024 8:13 am
by Chris
Hi Basile,

We will try to implement this in the next few weeks!