Page 1 of 1
Two data sources, Variable page length
Posted: Tue Dec 29, 2009 11:36 pm
by Sundara Manikandan
Hi,
I am using custom business objects in my report. I want to connect to two different objects via code.
For eg. I have a billMaster Entity which should be displayed in the header column and in the billdetails, I am using a typedlist to display bill items.
Also how do I total the value of products.
I also could not figure out how to made the bill size variable depending on the number of products.
Is this possible?
Thanks in advance.
Two data sources, Variable page length
Posted: Wed Dec 30, 2009 6:46 am
by Edward
Hi,
manikandan wrote:I am using custom business objects in my report. I want to connect to two different objects via code.
For eg. I have a billMaster Entity which should be displayed in the header column and in the billdetails, I am using a typedlist to display bill items.
Please see BusinessObjects sample application which is the part of standard installation of Stimulsoft Reports.Net.
manikandan wrote:Also how do I total the value of products.
So you will see your business objects like datasources in your report so please use the same techniques for calculation of totals for them.
Thank you.
Two data sources, Variable page length
Posted: Wed Dec 30, 2009 7:10 am
by Sundara Manikandan
Sorry, I was not clear.
I want my report length to vary depending upon the number of lines in the data section.
Two data sources, Variable page length
Posted: Wed Dec 30, 2009 8:19 am
by Edward
Hi
Sorry, some more explanation is still required
Thank you.
Two data sources, Variable page length
Posted: Wed Dec 30, 2009 8:57 am
by Sundara Manikandan
Hi,
I want to print an invoice in a dot matrix printer with continuous paper roll.
The invoice may vary in height in proportion to number of items billed.
ie., invoice page height must be variable.
For example: if the invoice has 1 item, the report should stop printing after the total.(should not run empty lines till the default paper size).
if the invoice has 40 items, the report should print the same in a single page irrespective of the default page size and end printing once the total is printed.
Is this possible in stimulreports ?
Two data sources, Variable page length
Posted: Wed Dec 30, 2009 9:28 am
by Edward
Hi
Definitely that is possible. But printing on reel paper is connected with some obstacles.
Please read more about it here:
http://forum.stimulsoft.com/Default.aspx?g=posts&t=2197
Thank you.