限制数据窗口每页打印行数
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]