vfp報表頁數問題

zhantianyou 2009-10-19 05:28:02
各位:
我想打印分組報表,並統計每個組的報表總頁數,有什麽方法沒?6.0可以實現,但9.0就不行了。
&&=======================================================================
select Curs_report
update Curs_report set ctotpage=1
private otpage
otpage=1

select custcode from Curs_report group by custcode into cursor tmptable
select tmptable
go top
scan all
select * from Curs_report where allt(Curs_report.custcode)==allt(tmptable.custcode) into curs tmptotpage
report form &taliorpath.Report\&ReportName noconsole
otpage=_pageno
select Curs_report
update Curs_report set ctotpage=otpage where allt(Curs_report.custcode)==allt(tmptable.custcode)
endscan
&&======================================================================

有什麽方法解決不??
...全文
126 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
zhantianyou 2009-10-20
  • 打赏
  • 举报
回复
又沒人來
zhantianyou 2009-10-20
  • 打赏
  • 举报
回复
不知道哦。我對vfp9.0不懂。邊工作邊學的。原來是。net的,現在就是來問下高手們哪個知道
gisyellow 2009-10-19
  • 打赏
  • 举报
回复
是不是9.0有了替代方法来实现。。
zhantianyou 2009-10-19
  • 打赏
  • 举报
回复
媽媽的。人才到哪去了/???
zhantianyou 2009-10-19
  • 打赏
  • 举报
回复
難道要我三連冠??
zhantianyou 2009-10-19
  • 打赏
  • 举报
回复
來個人頂下啊

110,545

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧