ReportPro 3.9 and X#

This forum is the place to discuss issues related to ReportPro, Xs2Ado, Vo2Ado, bBrowser and other 3rd party products
Post Reply
Komar
Posts: 13
Joined: Tue Sep 29, 2015 9:24 am
Location: Ukraine

ReportPro 3.9 and X#

Post by Komar »

My VO applications used ReportPro 3.9.
For X# applications we had to use ReportPro 3.6 for xSharp.
Due to the fact that reports (*.rpt) version 3.9 are not compatible with 3.6 for xSharp, the question arises:
1. Is it possible to convert reports (*.rpt) from version 3.9 to version 3.6?
2. Is it possible to use PrintPreview ReportPro 3.9 in X#?
User avatar
robert
Posts: 4195
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

Re: ReportPro 3.9 and X#

Post by robert »

Komar,
The current version of RP3 for X# should be compatible with the report format for VO.
What problem do you see?

Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
Komar
Posts: 13
Joined: Tue Sep 29, 2015 9:24 am
Location: Ukraine

Re: ReportPro 3.9 and X#

Post by Komar »

When opening an RP3.9 report file in RP3.6 for xSharp:
"The following error was encountered while validating Field Object Expressions:
Description : Invalid Print When expression: Otchet.Nsk<>0
Subsystem : ReportPro
GenCode : EG_SYNTAX Syntax error
FuncSym : CMERROR:.CTOR
Severity : ES_ERROR
Can Default : False
Can Retry : False
Can Substitute : False
Stack Trace :
RPERROR:.CTOR (Line: 118)
RPRECTANGLE:INITEXPRESSIONS (Line: 535)
RPFIELD:INITEXPRESSIONS (Line: 321)
RPBAND:INITEXPRESSIONS (Line: 515)
RPSECTION:INITEXPRESSIONS (Line: 2159)
RPREPORT:VALIDATEEXPRESSIONS (Line: 738)
RPREPORT:CONNECT2SOURCE (Line: 168)
RPDESIGNER:SHOW (Line: 725)
RPBASEMDISHELL:OPENREPORTFILE (Line: 367)
RPBASEMDISHELL:OPENREPORT (Line: 318)
RPSHELLWINDOW:MENU_OPENREPORT (Line: 141)
RUNTIMEMETHODHANDLE:INVOKEMETHOD (Line: 0)
RUNTIMEMETHODINFO:UNSAFEINVOKEINTERNAL (Line: 0)
RUNTIMEMETHODINFO:INVOKE (Line: 0)
OOPHELPERS:SENDHELPER (Line: 0)
OOPHELPERS:SENDHELPER (Line: 0)
OOPHELPERS:DOSEND (Line: 0)
SEND (Line: 0)
CMENU:_PROCESSCOMMANDMSG (Line: 345)
CTOOLBAR:_PROCESSCOMMANDMSG (Line: 249)
CMDISHELL:ONCOMMAND (Line: 411)
RPSHELLWINDOW:ONCOMMAND (Line: 165)
CWINDOW:DISPATCH (Line: 705)
CMDISHELL:DISPATCH (Line: 248)
_CMDISHELLPROC (Line: 132)
ISDIALOGMESSAGE (Line: 0)
CMDISHELL:_PREPROCESSMESSAGE (Line: 89)
CAPP:EXEC (Line: 115)
CAPPEX:START (Line: 41)
RUNTIMEMETHODHANDLE:INVOKEMETHOD (Line: 0)
RUNTIMEMETHODINFO:UNSAFEINVOKEINTERNAL (Line: 0)
RUNTIMEMETHODINFO:INVOKE (Line: 0)
OOPHELPERS:SENDHELPER (Line: 0)
OOPHELPERS:SENDHELPER (Line: 0)
OOPHELPERS:DOSEND (Line: 0)
SEND (Line: 0)
CMSTART (Line: 366)
START (Line: 12)"
Komar
Posts: 13
Joined: Tue Sep 29, 2015 9:24 am
Location: Ukraine

Re: ReportPro 3.9 and X#

Post by Komar »

I apologize, I fixed the error and everything is fine. I saw it when I posted my previous message.
It turns out that RP3.9 skips errors in the report (string field) <> 0, but RP3.6 for rSharp does not.

Thank you.
User avatar
robert
Posts: 4195
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

Re: ReportPro 3.9 and X#

Post by robert »

Komar,
The VO macro compiler is very "forgiving". Our macro compiler is stricter.

Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
Post Reply