Groups
Groups
Sign in
Groups
Groups
RapidReportサポート QAフォーラム
Conversations
About
Send feedback
Help
帳票をExcelに複数シートで出力した際、PageCountの出方が不正
99 views
Skip to first unread message
Huệ Trần
unread,
May 13, 2021, 11:56:25 PM
5/13/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to RapidReportサポート QAフォーラム
こんにちは、フエと申します。
Excelに複数シートで出力した際、1シート目なら「PAGE 1/トタルページ数」、2シート目からすべて「PAGE 1/1」と表示されます。
ただし、PDFに出力した場合は、正常に 「PAGE 1/*
」, 「PAGE 2/
*」, 「PAGE 3/*」を出しますが、Excelの場合は、なんだかの原因で正しく出すことができません。
お手数ですが、ご存じの方がいらっしゃいましたら、原因と修正方法を教えていただけますと、助かります。
※テンプレートファイル、Javaファイル、xlsxファイルを添付してあるので、ご確認をお願いいたします。
まことにありがとうございます
PageCount.zip
RapidReport
unread,
May 17, 2021, 2:30:24 AM
5/17/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to RapidReportサポート QAフォーラム
吉川です。
原因:
1ページずつ、エクセルシートに出力していました。
このとき、page_count、およびpage_count.tatalメソッドを利用すると
どちらも「1」をいう結果であるため、「PAGE 1 / 1」のような結果になっていました。
修正方法:
修正方法は、つぎのサンプルを参考にしてみて下さい。
https://rapidreport.systembase.co.jp/support/example202105171.zip
pagescortという仕組みを利用しています。
https://rapidreport.systembase.co.jp/reportpage.html
Reply all
Reply to author
Forward
0 new messages