主题:  [求助]cfreport 的问题。

aipopo

职务:普通成员
等级:1
金币:0.0
发贴:2
注册:2004/12/5 9:47:25
#12005/9/19 21:26:07
<cfprocessingdirective pageencoding="utf-8">

<cfreport template="printList.cfr" format="flashpaper">

<cfreportparam name="pihaoFormatLabel" value="#FORM.pihao#">

<cfreportparam name="kuanhaoFormatLabel" value="#FORM.kuanhao#">

<cfreportparam name="mingchengFormatLabel" value="#FORM.mingcheng#">

</cfreport>
使用上面这段显示一个报表,我想实现的是:当我在post的时候除了 FORM.pihao FORM.kuanhao FORM.mingcheng 外,还传递一个number参数过来,当他是 10 时就显示 10页.



s22

职务:版主
等级:4
金币:10.0
发贴:1634
注册:2004/12/19 13:06:46
#22005/9/23 10:05:25
页码应该可以不需要参数吧,应该做printlist.cfr的时候可以加上吧