English 中文(简体)
晶体页码
原标题:Crystal page number

因此我正在做一个需要传真的报告, 并且需要一份封面页。 我作为报告页眉添加了一个封面, 加上一个总页数。 有一个页头可以生成 [ n页 m], 但无法在报告页头上显示“ 如果( 数字=1) ”, 使用“ 如果( 数字=1), 那么是真实的 ” 。 我不想让 [ n页 m] 包含封面页的计数, 因此决定手动制作一个 n页 m 。 当它打印在页面上时, 数字是浮动格式, 而不是 Int, 我如何修正它。 这里是水晶语法 I m 使用和输出 。

numbervar n := PageNumber - 1;
numbervar m := TotalPageCount -1;
stringvar page := "Page " + toText(int(n)) + " of " + toText(int(m));
page

输出 : “ 3. 00 的1. 00 页数 ”

我最初尝试在报告页头之后重置页数,但结果使封面1而不是封面表4的[总页数]达到[总页数]。

谢谢你的帮助 David K

最佳回答

代替 ToText( int(n) ), 只使用 ToText(n, 0) 。

您可以在 Text < a href=" http://publib.boulder.ibm.com/infocenter/radhelp/v7r5/index.jsp?topic=/com.businessobjects. international. eclipse. decopse. deser. html/topic629.html" rel="nofollow" 中找到关于toText < a href=" http://publib.b.boulder.ibm.com/inf.com/inf/radhelp/v7r5/index.jsp?top=/com.busignobjects. Incion. eclips. declipse.do/html/topic629.html" rel=" nofol. >> 这里

问题回答

为何您不使用 专栏专家的“ 之后重置页码” 功能中的“ 重置页码”?

或只是做:

"Page " + toText(PageNumber - 1,0) + " of " + toText(TotalPageCount -1,0);

您可以使用“ 之后重置页码” 功能 - 从区域专家那里, 然后在组合改变后重置。 只是为了让您的生活 e. z : *





相关问题
1099r IRS form instal Report

我们需要从申请中产生1099r份IRS报告,我们已决定用晶报告编写这份报告。 很奇怪的是,任何人都这样做了,如果是,可以......

How to split a Crystal Reports subreport across a page break?

I m using Visual Studio 2005 and writing in VB.NET. I have a subreport in a Crystal Reports report consisting of a list of log entries. Sometimes the list of log entries is long enough that it would ...

Adding Crystal Reports support into LAMP product

We have a newly documented feature request, from sales and support, to integrate Crystal Reports into our LAMP product. (It s more like LAPP, really, with Postgres and PHP.) I have to admit, ...

Crystal Report value Convertion?

i have to crystal report made from Dataset,and we have to one formula field i wrote Add() but that formula field show cancatination like 10+20=1020 i realize they need to convert that field in sight ...

How to Hyperlink to a Business Objects Report in Infoview

Is there a way to craft a hyperlink that connects to a Crystal Report or Webi within Infoview? Ideally, unauthenticated users would be challenged with Infoview security and then redirected to the ...

Crystal Report XI trouble with big XML data file

I have a big xml file (65 Mo) that I need to feed to a Crystal Report XI. My problem is that I tried running the report and it takes forever to display a single page (about 15 minutes a page). I still ...

Transferring Crystal report

I have created a crystal report in VS 2005 using the wizard. In the report I have created an OLE DB connection to a server which has a database student . Now I need to run this report on another ...

热门标签