码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2019-06-03 09:30:59      阅读:108      评论:0      收藏:0      [点我收藏+]

标签:post   dep   write   title   The   username   line   download   vat   

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 (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 (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.

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

标签:post   dep   write   title   The   username   line   download   vat   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!