Groups
Groups
Sign in
Groups
Groups
RapidReportサポート QAフォーラム
Conversations
About
Send feedback
Help
フッターの集計項目印字について
42 views
Skip to first unread message
suzunaru
unread,
Jun 16, 2025, 2:24:59 AM
Jun 16
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フォーラム
お世話になっております。
C#で作られたシステムからRapidReport帳票を PDF形式で出力しようとしています。
rrptファイルを作成し、rrdtファイルでのプレビュー時には集計行に金額が印字されるのですが、システムから帳票を出力した場合には集計行の金額項目が「0」で印字されてしまいます。
システムから出力する際のデータをrrdtファイルに保存してプレビューしたときでも金額は印字できます。
フッター項目は明細行の項目を単純に縦計するだけのため、特に条件等はありません。
なにか設定に不足箇所があるのか、確認をお願いできないでしょうか?
お手数をおかけいたしますが、ご検討のほどよろしくお願いいたします。
RR_f5205241_24208.rrpt
RR_f5205241_24208_4310402.rrdt
RR_f5205241_24208.rrdt
RapidReport
unread,
Jun 16, 2025, 3:22:43 AM
Jun 16
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フォーラム
金額を数値ではなく文字列で渡しているために集計が行われないのかもしれません。
試しに、住宅使用料を文字列だったとしても数値化してから集計するように
帳票定義ファイルを変更してみました。
これで住宅使用料の集計値は出力されるようになるでしょうか?
2025年6月16日月曜日 15:24:59 UTC+9 suzunaru:
fix202506161.zip
suzunaru
unread,
Jun 16, 2025, 4:29:53 AM
Jun 16
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フォーラム
返送いただいたrrptファイルでシステムから住宅使用料の合計金額を印字することができました。
迅速な対応ありがとうございます。
他項目も同様に合計値を印字したいのと、今後もおそらく同じように躓いてしまいそうなので、
修正箇所と修正方法を教えていただくこと可能でしょうか?
2025年6月16日月曜日 16:22:43 UTC+9 RapidReport:
RapidReport
unread,
Jun 16, 2025, 11:08:41 PM
Jun 16
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フォーラム
この対応で合計値が出力できたということは、
住宅使用料を文字列で渡していたことが集計できていなかった原因と判断できます。
住宅使用料/駐車場使用料/合計金額を文字列でなく数値として渡すという対応をお勧めしますが・・・
駐車場使用料と合計金額にも同じ対応を行った帳票定義を提供します。
「カスタム列」でそれぞれの列を数値化した列(住宅金額_数値 など)を追加し、
その集計値を計算(sum.住宅金額_数値)しています。
2025年6月16日月曜日 17:29:53 UTC+9 suzunaru:
fix202506171.zip
suzunaru
unread,
Jun 19, 2025, 12:36:12 AM
Jun 19
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フォーラム
お世話になっております。
お返事に時間が空いてしまい申し訳ございません。
教えていただいた方法で無事出力したい形式の帳票を作成することができました。
数値変換したデータを帳票ファイルに渡してあげるという対応方法をご記載いただいたのですが、
印刷データ時点での型変換はシステム上困難となっているため、
カスタム式を使用して帳票ファイル内での型変換で対応したいと思います。
お忙しいところご対応いただき本当にありがとうございました。
今後またなにかありましたらお力添えいただけますと幸いです。
以上です。
2025年6月17日火曜日 12:08:41 UTC+9 RapidReport:
Reply all
Reply to author
Forward
0 new messages