在详细资料上点格式化节,在后面页新建页打勾
公式中输入:
if onlastrecord then
formula = false
else
if RecordNumber mod 5 =0 then
formula =true
else
formula =false
end if
end if
'(BASIC 语法)
你把 if RecordNumber mod 5 = 0 then 该为 3 = 0
应该是3行换页,我试了下 1=0的情况下,一行就换页:)
如果你不想用basic用crystal语法
把formula去掉就可以了
if onlastrecord then
false
else
if RecordNumber mod 2 =0 then
true
else
false
就是用来控制换行的:)