search
Homephp教程php手册水晶报表分页的问题

水晶报表分页的问题

Jun 06, 2016 pm 08:00 PM
phpPaginationReportforumquestion

在论坛上经常会看到水晶报表分页的问题,这个很好解决。 但是自动插入空白行的问题却一直没有很好的答案, 经过研究找到一个变通的办法来实现了。 '分页 在详细资料上点格式化节,在 后面页新建页 打勾 公式中输入: if onlastrecord then FORMULA = FALSE e

在论坛上经常会看到水晶报表分页的问题,这个很好解决。
但是自动插入空白行的问题却一直没有很好的答案,
经过研究找到一个变通的办法来实现了。

'分页
在详细资料上点格式化节,在后面页新建页打勾
公式中输入:
if onlastrecord then
   FORMULA = FALSE
else
   if RecordNumber mod 5 =0 then
      FORMULA = TRUE
   else
      FORMULA = FALSE
   end if
end if
'(BASIC 语法)
---------------------------------------------------------------------

最后页不足,用空行填充:
新增一个空白详细资料行,格式化此节,在抑制显示(无深化)打勾
公式中输入:
if not onlastrecord  then
    FORMULA = TRUE
else
   if (RecordNumber mod 5        FORMULA = TRUE  
   else
       FORMULA = FALSE 
   end if
end if
'(BASIC 语法)

...接着第二个[ 新增一个空白详细资料行,格式化此节,在抑制显示(无深化)打勾 ]:

公式中输入:
if not onlastrecord  then
    FORMULA = TRUE
else
   if (RecordNumber mod 5        FORMULA = TRUE  
   else
       FORMULA = FALSE 
   end if
end if

...接着第三个[ 新增一个空白详细资料行,格式化此节,在抑制显示(无深化)打勾 ]:

公式中输入:
if not onlastrecord  then
    FORMULA = TRUE
else
   if (RecordNumber mod 5        FORMULA = TRUE  
   else
       FORMULA = FALSE 
   end if
end if

...(同理第四个,即最后5-1个)

 

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
1 months agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.