How to print a report from within Xojo
Sergey Pashkov
sergey_pashkov at valentina-db.com
Tue Apr 1 16:38:03 CDT 2014
Hello Fotis
You can find an example here:
~/Paradigma Software/V4RB_5/Examples/VReport/GeneralOnSQLite
One VProject instance can be used to produce all of prepared reports.
You should use MakeNewReport method, where you pass report name, datasource
string and a source query.
Also, you may find useful online tutorial on how to print a report in Xojo.
It is a Web application which uses Valentina Server both as a datasource
and to generate reports, but the generic principles are the same:
https://www.youtube.com/watch?v=iSdF-FBUGHo
Best regards,
Sergey Pashkov.
On Wed, Apr 2, 2014 at 12:12 AM, Fotis Georgiadis <
fotis.georgiadis at icloud.com> wrote:
> Dear everyone,
>
> I have prepared a report that prints fine from Valentina Studio (I have
> the pro).
> Also I have the Report SDK (purchased) and have downloaded/installed the
> plugin.
>
> Now I am not sure how to print the report from within Xojo. I am
> instantiating the VProject, but don't know how to proceed to the prepared
> report.
>
> Also can I have more than 1 reports to print in the same project?
> I suppose I can specify during runtime the database which in this case is
> an SQLite database... How is that done?
>
> I tried to find an example but i couldn't find any that can show me what I
> need!
>
> Thank you in advance
>
> Fotis Georgiadis
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macserve.net/pipermail/valentina/attachments/20140402/cde431e1/attachment.html>
More information about the Valentina
mailing list