S SiWeiLiuLang Unregistered / Unconfirmed GUEST, unregistred user! 2009-03-16 #1 有10条记录,我只想打印5条,怎么实现?
D Delphizhou Unregistered / Unconfirmed GUEST, unregistred user! 2009-03-16 #2 那就只显示5条不就得了.或是在后台写段代码实现.
C chailang Unregistered / Unconfirmed GUEST, unregistred user! 2009-03-17 #6 SiWeiLiuLang,似乎没有表达清楚吧,你需要的五条记录是前五条还是后五条,还是任意的五条!
B bacycle Unregistered / Unconfirmed GUEST, unregistred user! 2009-09-14 #8 sql数据库的话,sql语句中加top5或者butt5,打印前5条或者后5条oracle数据库的话,rownm<6,打印5条即可。
S shuaihj Unregistered / Unconfirmed GUEST, unregistred user! 2009-09-21 #9 //在你的对应数据带打印前事件中,判断是否打印即可procedure MasterData1OnBeforePrint(Sender: TfrxComponent); begin MasterData1.Visible := MasterData1.DataSet.RecNo <= 4; end;
//在你的对应数据带打印前事件中,判断是否打印即可procedure MasterData1OnBeforePrint(Sender: TfrxComponent); begin MasterData1.Visible := MasterData1.DataSet.RecNo <= 4; end;