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

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

Post by DoraHuang » Tue Mar 13, 2018 4:13 am

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 514 times
 
Alex K.
Posts: 6489
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. » Wed Mar 14, 2018 2:10 pm

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 » Wed Aug 29, 2018 8:08 am

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: 1342
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 » Thu Aug 30, 2018 6:56 pm

Hello,

Open events tab and write code in the necessary event.

Thank you.
Attachments
Capture.PNG
Capture.PNG (39.95 KiB) Viewed 415 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 » Fri Aug 31, 2018 1:45 am

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: 1342
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 » Fri Aug 31, 2018 5:35 am

Hello

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

Thank you.
原文地址:https://www.cnblogs.com/Jeely/p/10965712.html