How to show out three rows from the same databand On A4?

Stimulsoft Reports.NET discussion
Post Reply
DoraHuang
Posts: 4
Joined: Tue Mar 13, 2018 3:34 am

How to show out three rows from the same databand On A4?

Post by DoraHuang »

Hello, there are few questions to ask,
1. How to present a report from one DataBand to show out three info?
My questions like the picture:
it is A4 page And I want three row on the page.
The PageHead,Footer all the same And Databand at three row also the same ,only info not the same.
How Can I do?

I am waiting your help.
Thank you very much.
Attachments
picture.png
picture.png (7.39 KiB) Viewed 3675 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: How to show out three rows from the same databand On A4?

Post by Alex K. »

Hello,

If you need to show each row on a separate page - you can use the NewPageAfter/Before property for the DataBand.

Also, you can use the following code (in BeforePrint event of the DataBand) to set a new page depends on data count on one page:
if (Line == 3)
Engine.NewPage()

Thank you.
DoraHuang
Posts: 4
Joined: Tue Mar 13, 2018 3:34 am

Re: How to show out three rows from the same databand On A4?

Post by DoraHuang »

To:Alex
Sorry There is a Stupid question
How do I set it up?
"
Also, you can use the following code (in BeforePrint event of the DataBand) to set a new page depends on data count on one page:
if (Line == 3)
Engine.NewPage()

"
Thank you.
Lech Kulikowski
Posts: 6812
Joined: Tue Mar 20, 2018 5:34 am

Re: How to show out three rows from the same databand On A4?

Post by Lech Kulikowski »

Hello,

Open events tab and write code in the necessary event.

Thank you.
Attachments
Capture.PNG
Capture.PNG (39.95 KiB) Viewed 3576 times
DoraHuang
Posts: 4
Joined: Tue Mar 13, 2018 3:34 am

Re: How to show out three rows from the same databand On A4?

Post by DoraHuang »

Lech Kulikowski wrote: Thu Aug 30, 2018 6:56 pm Hello,

Open events tab and write code in the necessary event.

Thank you.
Thank You~~
Lech Kulikowski
Posts: 6812
Joined: Tue Mar 20, 2018 5:34 am

Re: How to show out three rows from the same databand On A4?

Post by Lech Kulikowski »

Hello

We are always glad to help you!
Please let us know if you need any additional help.

Thank you.
Post Reply