1. jaume
  2. Valentina Reports ADK
  3. Tuesday, November 27 2018, 09:52 AM
  4.  Subscribe via email
Hello,

I'm new to valentina reports
I'have bought valentida adk for xojo and valentina studio pro. Where can I find examples how to run valentina reports dessigned using valentina studio pro from xojo adk ?

Thank you
Comment
There are no comments made yet.
Sergey Pashkov Accepted Answer
Hello jaume,

Did you install V4RB and copied plugin to plugins Xojo folder?

The examples are installed with V4RB to the following places on different OS:
macOS /Users/user/Paradigma Software/V4RB_8/Examples
Windows C:\Users\user\Documents\Paradigma Software\V4RB_8\Examples
Linux /opt/V4RB/Examples

In the VReport subdirectory, you can find reports examples (GeneralOnSQLite, for instance).
Comment
There are no comments made yet.
Sergio Ciordia Accepted Answer
Hi Sergey,

I have installed V4RB and copied Valentina plugin to plugins Xojo folder but when I run the Report examples: GeneralOnSQLite and GeneralOnValentina I get these errors:

[img]https://ibb.co/9bKNc98[/img]

Could you check, please?

Thank you very much.
Sergio
Comment
There are no comments made yet.
Sergey Pashkov Accepted Answer
Hello,

Right, "Graphics" member of the Canvas class was deprecated in 2018r3, Paint method of the Canvas should be used instead.

It is updated in the repository, just not released yet.

Here's the updated project:
https://www.dropbox.com/s/lspg8xj9j2t5fqo/GeneralOnSQLite.xojo_binary_project.zip?dl=0

or you can just comment out lines with errors, they show report as a picture, other features like PDF generation work
Comment
There are no comments made yet.
Sergio Ciordia Accepted Answer
Thank you very Sergey.

Now it works perfectly.

Best regards,
Sergio
Comment
There are no comments made yet.
jaume Accepted Answer
Hi Sergey,

I can't find any example how to run designed valentina reports pro reports under v4rb_8

thank you
Comment
There are no comments made yet.
Sergey Pashkov Accepted Answer
Hi jaume,

What OS do you use?

On Windows you can find such an example here:
C:\Users\user\Documents\Paradigma Software\V4RB_8\Examples\VReport\GeneralOnSQLite
Attachments (1)
Comment
There are no comments made yet.
jaume Accepted Answer
Mac Os
it os located under paradigma software -> v4rb_8 -> Examples -> Vreport ->GeneralOnSqlite

I get an error running this project "Canvas1.Graphics.DrawPicture(mPicture, -1, -1 )". According the documentation I must comment this line.

After commenting this line the project runs only pdf generation, but I can't see how to run valentina reports genereated using valentina studio pro inside de project. Besides, I downloaded https://www.dropbox.com/s/lspg8xj9j2t5fqo/GeneralOnSQLite.xojo_binary_project.zip?dl=0 but unfortunateli it crashes on externalModules
Comment
There are no comments made yet.
Sergey Pashkov Accepted Answer
Please check out the event handlers attached to controls (selected on a screenshot)

What exactly crashes on externalModules?
The examples were updated in the latest version, work fine with Xojo2018r3
Attachments (1)
Comment
There are no comments made yet.
jaume Accepted Answer
Hello
I feel really frustated.

I have to deliver some reports using mariadb before Monday.

Do you mind posting or seding by email an example,please ?

thank you
Attachments (1)
Comment
There are no comments made yet.
Sergey Pashkov Accepted Answer
Please copy the downloaded project to the folder:
/Users/user/Paradigma Software/V4RB_8/Examples/VReport/GeneralOnSQLite

This project depends on files in __ExternalModules folder.
Comment
There are no comments made yet.
Sergey Pashkov Accepted Answer
Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Categories

Announcements & News
  1. 0 subcategories
Valentina Studio
  1. 2 subcategories
Valentina Server
  1. 4 subcategories
Valentina Database ADK
  1. 0 subcategories
Valentina Reports ADK
  1. 0 subcategories
Other Discussions
  1. 0 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories
Omegabundle
  1. 0 subcategories