Chinaunix首页 | 论坛 | 博客
  • 博客访问: 496974
  • 博文数量: 105
  • 博客积分: 2922
  • 博客等级: 少校
  • 技术积分: 1113
  • 用 户 组: 普通用户
  • 注册时间: 2008-07-02 16:30
文章分类

全部博文(105)

文章存档

2018年(1)

2016年(2)

2015年(3)

2014年(6)

2013年(21)

2012年(10)

2011年(8)

2010年(7)

2009年(31)

2008年(16)

我的朋友

分类:

2009-07-28 14:16:43

Dear all,

I have one simple question that seems to be asked and answered sometime
ago, but I didn't keep that mail.

I have one composite report that will be printed on pre-printed form.
How can I limit rows on the detail band and skip the rest on the next
page?

Please kindly help. Thank you.

regards,
Chaiyong Vorapattanapong

Try this,
1) In the datawindow painter open that particular datawindow.
2) Create a computed field in the detail space of this datawindow. Give a
name for this object.
3) In the expression give  int((getrow() - 1)/x) where x is number of
records to be printed on a page.
4) Create a group on this computed field. Click on New page on group break.
5) Save the changes and run the application.

The expression will evaluate to 0 for the first x records, to 1 for next x
records and so on. Due to the grouping every x number of records gets
printed on a new page.

Chaiyong Vorapattanapong wrote in message
阅读(2375) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~