PDA

View Full Version : RCIII Integration issue



craigkrum
18-May-2010, 06:57 PM
I have successfully installed VRW on my system and have created and run reports. I get no errors when I use the integration wizard to create a .rv report based on my .vrw reports. But when try to compile them, I always get the following compiler errors:

----Compiler Error Summary----
- Error 4328: D:\Visual DataFlex 15.1\Libraries\Visual Report Writer\AppSrc\cVRWReportView.pkg (ln 79) Undefined symbol in argument OVRWEXPORTOPTIONSDIALOG
- Error 4328: D:\OmniPong\AppSrc\Players.rv (ln 111) Undefined symbol in argument OVRWPREVIEWPANEL
- Error 4328: D:\OmniPong\AppSrc\Players.rv (ln 113) Undefined symbol in argument OVRWPREVIEWPANEL
- Error 4328: D:\OmniPong\AppSrc\Players.rv (ln 114) Undefined symbol in argument OVRWPREVIEWPANEL

Where the lines of code are as follows:

111: Get OpenReport of oVRWPreviewPanel sReportName to bOk
112: If (bOk) Begin
113: Set peOutputDestination of oVRWPreviewPanel to eOutputDevice
114: Send StartReport of oVRWPreviewPanel
115: End

Any thoughts on what I am doing wrong?

Thanks,
Craig

Vincent Oorsprong
18-May-2010, 11:10 PM
Craig,

You've found a bug in what the wizard produces.

Add the following to the top of your .rv file



Use VRWPreviewPanel.dg


and inside the procedure StartReprort define the boolean variable bOk.

Thanks for reporting

DavePorter
19-May-2010, 08:58 AM
Hi Vincent,

Followed this, but still getting error:
undefined symbol in argument oVRWExportOptionsDialog
error points to here:
in -> cVRWReportView.pkg

Object oExport is a cVRWExportMenuItem
Set phoReport to (oReport)
-> Set phoExportOptionsDialog to (oVRWExportOptionsDialog)
End_Object

regards, Dave Porter

Michael Mullan
19-May-2010, 09:48 AM
add the use statement for

use VRWExportOptions.dg

Been there fixed that!

craigkrum
19-May-2010, 02:59 PM
Thanks all, works fine now.

DavePorter
19-May-2010, 06:29 PM
add the use statement for

use VRWExportOptions.dg

Been there fixed that!

That's odd, still getting the error when I add the missing use vrwexportoptions.dg statement
cheers Dave

----Compiling abd_test1.src----
.
.
- Error 4328: C:\Program Files\Visual DataFlex 15.1\Libraries\Visual Report Writer\AppSrc\cVRWReportView.pkg (ln 79) Undefined symbol in argument OVRWEXPORTOPTIONSDIALOG
- Including file: VRWPreviewPanel.dg (C:\Program Files\Visual DataFlex 15.1\Libraries\Visual Report Writer\AppSrc\VRWPreviewPanel.dg)
- Including file: VRWExportOptions.dg (C:\Program Files\Visual DataFlex 15.1\Libraries\Visual Report Writer\AppSrc\VRWExportOptions.dg)
- Including file: VRWStatusPanel.dg (C:\Program Files\Visual DataFlex 15.1\Libraries\Visual Report Writer\AppSrc\VRWStatusPanel.dg)
- Including file: cDqlinesDataDictionary.dd (C:\djs\vdf151\abd\DDSrc\cDqlinesDataDictionary.dd )
- Summary
- Memory Available: 1703469055
- Total Warnings : 0
- Total Errors : 1
- Total Symbols : 41793
- Total Resources: 0
- Total Commands : 76200
- Total Windows : 1
- Total Pages : 1
- Static Data : 530973
- Message area : 551664
- Total Blocks : 27689
- 1 ERRORS HAVE BEEN FOUND.
----Compile Finished (With Errors!)----
----Compiler Error Summary----
- Error 4328: C:\Program Files\Visual DataFlex 15.1\Libraries\Visual Report Writer\AppSrc\cVRWReportView.pkg (ln 79) Undefined symbol in argument OVRWEXPORTOPTIONSDIALOG

craigkrum
19-May-2010, 06:33 PM
I added it to the cVRWReportView.pkg and it worked fine. Did you add it to your .rv file maybe?

DavePorter
19-May-2010, 06:36 PM
Yep, you got it in one !
2 seconds after posting I realized it needed to be in the .pkg
All working well.
Thanks, Dave