解决SMARTFORMS 中table 控件单行跨页的问题

        当物料描述很长时,table控件在单元格中能自动换行,这样就有可能在换页处出现一行记录的一部分打在上一页,一部分记录打在下一页,出现了单行跨页打印的问题,一直不能找到很好的解决方法,曾一度考虑把table 换成template。

很偶然,有次在表的行类性里看到有个“无换页”的选项,按F1查看它的帮助信息如下:

Page protection attribute
Switch for page protection.
Use
Page protection switch.
In some cases you may want to avoid that text is divided by a page break. Therefore, you can protect text sections 
with a page protection.
Page protection can extend to
a paragraph
a text node
all output within a folder, for example, several text nodes combined in this folder.
a line type (table node)
If on the current page there is not enough space left for the protected text, it is displayed entirely on the next page.

        呵呵,一目了然,这个选项正是解决困扰我好久问题的解决方案,在明细的行类性的“无换页”处打上对勾,就完美解决了这个问题了,希望给受此困扰的兄弟们有点帮助。

  • 5
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

ChampaignWolf

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值