1. jaume
  2. Valentina Reports ADK
  3. Thursday, November 07 2019, 08:13 PM
  4.  Subscribe via 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
Comment
There are no comments made yet.
Sergey Pashkov Accepted Answer
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).
Attachments (3)
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 1
jaume Accepted Answer
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
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 2
Sergey Pashkov Accepted Answer
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?
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 3
jaume Accepted Answer
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.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 4
Sergey Pashkov Accepted Answer
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?
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 5
jaume Accepted Answer
Are the subreports only supported in the body report ?
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 6
Sergey Pashkov Accepted Answer
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?
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 7
jaume Accepted Answer
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
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 8
jaume Accepted Answer
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.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 9
Sergey Pashkov Accepted Answer
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.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 10
  • 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. 2 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories