1. jaume
  2. Valentina Reports ADK
  3. Четверг, Ноябрь 07 2019, 08:13 PM
  4.  Подписаться через email
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
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
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).
Вложения
Комментарий
There are no comments made yet.
jaume Ответ принят
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
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
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?
Комментарий
There are no comments made yet.
jaume Ответ принят
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.
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
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?
Комментарий
There are no comments made yet.
jaume Ответ принят
Are the subreports only supported in the body report ?
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
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?
Комментарий
There are no comments made yet.
jaume Ответ принят
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
Комментарий
There are no comments made yet.
jaume Ответ принят
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.
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
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.
Комментарий
There are no comments made yet.
  • Страница :
  • 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