if onlastrecord then
   formula = false 
else 
   if RecordNumber mod 5 =0 then
      formula =true
   else
      formula =false
   end if
end if
这段代码加进去,第一页无法显示,从第二页开始显示,为什么?

解决方案 »

  1.   

    在详细资料上点格式化节,在后面页新建页打勾(你的是不是没有勾上呢,查看)----------------------
    公式中输入:
    if onlastrecord then
       formula = false 
    else 
       if RecordNumber mod 5 =0 then
          formula =true
       else
          formula =false
       end if
    end if
      

  2.   

    看一下以下两个bolg
    http://blog.csdn.net/haibodotnet/category/13322.aspx
    http://blog.csdn.net/BennyMavis/category/66503.aspx