1. jaume
  2. Valentina Reports ADK
  3. Donnerstag, November 07 2019, 08:13 PM
  4.  Abonnieren via E-Mail
Hello,
I need to print bills with images and rectangles.
I'have been loocking for add an immage or rectangle on the background of the report without success.

Mainly, is printing a rectangle arround of then report body.

Where I can start digging ?

Thank you
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
Hello,

You can try to use a subreport for it.

Rectangles or picture should be placed on the main report, the records are printed by the subreport.

You can draw a rectangle around the subreport and set size_type property to Relative To Region - that way the rectangle will grow with the page body (preview_2.png).
Anhänge
Kommentar
There are no comments made yet.
jaume Akzeptierte Antwort
Hello,

Subreport placed on the body of the main report works fine, but not in the page footer. I need to 2 subreports one in then body of main report and other in then page footer of the maingreport. What am I doing wrong ?

Regards,

Jaume
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
Hello Jaume,

It's not supported in the current version.
Could you please add an example of what you want to place there exactly? Is it correlated to the page body?
Kommentar
There are no comments made yet.
jaume Akzeptierte Antwort
I'm printing invocies so we have 3 reports

main report that prints de hedader
detail report that print detailed information of the goods
total who prints then amoun, taxes ... on then bottom of the page.
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
total who prints then amoun, taxes ... on then bottom of the page.


Looks like a summary. Is it possible to calculate it with a Summary control in the Page Footer of the subreport which shows details?
Kommentar
There are no comments made yet.
jaume Akzeptierte Antwort
Are the subreports only supported in the body report ?
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
They are supported in headers, too.

Totals in the page footer is still a problem?
How exactly do you calculate totals?
In subreport, with a query which receives some ID as a parameter? Maybe you can move it to the main query?
Kommentar
There are no comments made yet.
jaume Akzeptierte Antwort
Sorry for the delay

I can move it into the main query as long as the contains of page footer are printed only in the last page
is there any way to do that ?

Thank you
Kommentar
There are no comments made yet.
jaume Akzeptierte Antwort
No,I'm sorry I can't move to the main query.

As far I I can see, the best solution is to pass 50 parameters to the report, but it requires a lot of code and mistakes.
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
As for a page footer on the last page - yes, it is supported (Last Page Footer region).

And these values can't be calculated in the subreport of the page body as a Summary control, right?
Maybe you can create a stored procedure which accepts the ID and performs calculations for this ID, and you can call this procedure in the expression.
Kommentar
There are no comments made yet.
  • Seite :
  • 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