当前位置 : 主页 > 手机开发 > ROM >

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

来源:互联网 收集:自由互联 发布时间:2021-06-10
How to show out three rows from the same databand On A4? Quote 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 pi

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

  • Quote

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
Top  
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?

  • Quote

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.
Top  
DoraHuang
Posts:  4
Joined: Tue Mar 13, 2018 3:34 am

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

  • Quote

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.
Top  
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?

  • Quote

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
Top  
DoraHuang
Posts:  4
Joined: Tue Mar 13, 2018 3:34 am

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

  • Quote

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~~ Top  
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?

  • Quote

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.
网友评论