Sample of using ScaleRichView Report Workshop

A reporting tool based on TRichView
Post Reply
makina
Posts: 6
Joined: Wed Sep 13, 2017 8:17 pm

Sample of using ScaleRichView Report Workshop

Post by makina » Thu Oct 12, 2017 4:03 am

Hello, is there an executable sample of the scalerichview working with reportworkshop??

im planning to buy any of the below options but I would like to see wich one is better for what im looking for,.
unfortunatelly I don't see a compiled version using the ScaleRichView, or maybe it is there,

TRichView + ScaleRichView + ReportWorkshop
TRichView + ReportWorkshop

something else, is it possible to set a default language (i need spanish) in the licenced version of report worshop? in the demo version I dont see a way to do that.

also is it possible to use unidac (devart) components ?

thank you.

Sergey Tkachenko
Site Admin
Posts: 13586
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Sample of using ScaleRichView Report Workshop

Post by Sergey Tkachenko » Thu Oct 12, 2017 10:53 am

Hello,

There is a demo of using ScaleRichView together with Report Workshop.
It is in <TRichView Dir>\ReportWorkshop\Demos\FireDAC\ScaleRichViewReportEditor\
This demo is a ScaleRichView analog of TRichViewEdit-based demo (<TRichView Dir>\ReportWorkshop\Demos\FireDAC\ReportEditor\).
Sample reports for this demo are in <TRichView Dir>\ReportWorkshop\Demos\ReportsScaleRichView\InterBase\dbdemos (and others in <TRichView Dir>\ReportWorkshop\Demos\ReportsScaleRichView\, but you need to switch to the corresponding database (tab "Data", button "Change Database").

Yes, Spanish UI is supported. To make it default, you need to assign 'Spanish' to RVAControlPanel1.Language at designtime.

Yes, UniDAC is supported. Unfortunately, we do not have demo projects with UniDAC, but it's simple, you need to link TRVReportGenerator component with TRVReportUniDataProvider component.

If you will try to change one of our ReportEditor demos to UniDAC... All database-specific code is placed in a datamodule. For example, for FireDAC demos, it is in ReportDataFD.pas. You need to create a similar datamodule for UniDAC. If you have problems doing it, I'll try to help.

makina
Posts: 6
Joined: Wed Sep 13, 2017 8:17 pm

Re: Sample of using ScaleRichView Report Workshop

Post by makina » Tue Oct 31, 2017 3:40 am

Hello,. unfortunately the firedac sample did not work, could you create this same sample but using unidac and scaleveiw?
the firedac is showing the below errors.
(btw in the firedac sample i dont see the SV in use)
---------------------------
Debugger Exception Notification
---------------------------
Project ReportEditorFD.exe raised exception class EReadError with message 'Property ColorDepth does not exist'.
---------------------------
Break Continue Help
---------------------------


---------------------------
Debugger Exception Notification
---------------------------
Project ReportEditorFD.exe raised exception class EReadError with message 'Error reading ilNormal.ColorDepth: Property ColorDepth does not exist'.
---------------------------
Break Continue Help
---------------------------


---------------------------
Application Error
---------------------------
Exception EReadError in module ReportEditorFD.exe at 00026517.

Error reading ilNormal.ColorDepth: Property ColorDepth does not exist.


---------------------------
Aceptar
---------------------------

Sergey Tkachenko
Site Admin
Posts: 13586
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Sample of using ScaleRichView Report Workshop

Post by Sergey Tkachenko » Tue Oct 31, 2017 3:54 pm

What version of Delphi do you use?
ColorDepth property was added in TImageList in Delphi 2009, and this is a minimal required version of Delphi for our FireDAC report editor demo, because it uses 32-bit toolbar images (they are supported only in Delphi 2009 and later).

There are two FireDAC report editor demo, in Demos\FireDAC\ReportEditor (it uses TRichViewEdit) and Demos\FireDAC\ScaleRichViewReportEditor\ (it uses ScaleRichView).

Actually, all our TRichViewEdit-based report editor demos are almost identical, the difference is only in datamodules.
If you want to make FireDAC demo for older versions of Delphi, you can take the demo in IBX\ReportEditor\DelphiOld\, remove ReportDataIBX from the project and from "uses" of the main form, and add FireDAC\ReportEditor\ReportDataFD.pas instead.
In FireDAC\ReportEditor\ReportDataFD.pas, change all '..\..\' paths to '..\..\..\'

Post Reply