ehxz 发表于 2012-3-1 02:36:05

限制数据窗口每页打印行数

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 giveint((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 <autom...@ksc9.th.com> wrote in message


页: [1]
查看完整版本: 限制数据窗口每页打印行数

免责声明:
本站所发布的一切破解补丁、注册机和注册信息及软件的解密分析文章仅限用于学习和研究目的;不得将上述内容用于商业或者非法用途,否则,一切后果请用户自负。本站信息来自网络,版权争议与本站无关。您必须在下载后的24个小时之内,从您的电脑中彻底删除上述内容。如果您喜欢该程序,请支持正版软件,购买注册,得到更好的正版服务。如有侵权请邮件与我们联系处理。

Mail To:Admin@SybaseBbs.com