Hi all gurus.
I'm tryin'to get a total from a subreport (sr2), which in turn is called from another one (sr1). sr2 is filled with an sql query driven by parameters from sr1. sr2 shows a subreport total for a field(totSrv). I need this total to be, in turn, summarized and shown in sr1 (a subreport that shows infos from a practice for a given customer, whose general infos are shown in the main report (rpt1).
I managed to have totals raised to sr1 via a RaiseEvent, fired from textboxnn_ItemDataBinding in sr2, and summarized in sr1. However, I've not been able to use this total; I tried summarizing the total in the event "sr2_TotUpdated" of sr1, and got a correct value, given the value to a parameter (accessed thru ReportParameters("Tot_Servizi") function), but when this parameter is bound to a field in the report's footer, it shows a value of 0. For sure I don't follow the right track, so pls can Y help me to get the right way? Thanks in advance, have a nice day.
Saverio Tedeschi
I'm tryin'to get a total from a subreport (sr2), which in turn is called from another one (sr1). sr2 is filled with an sql query driven by parameters from sr1. sr2 shows a subreport total for a field(totSrv). I need this total to be, in turn, summarized and shown in sr1 (a subreport that shows infos from a practice for a given customer, whose general infos are shown in the main report (rpt1).
I managed to have totals raised to sr1 via a RaiseEvent, fired from textboxnn_ItemDataBinding in sr2, and summarized in sr1. However, I've not been able to use this total; I tried summarizing the total in the event "sr2_TotUpdated" of sr1, and got a correct value, given the value to a parameter (accessed thru ReportParameters("Tot_Servizi") function), but when this parameter is bound to a field in the report's footer, it shows a value of 0. For sure I don't follow the right track, so pls can Y help me to get the right way? Thanks in advance, have a nice day.
Saverio Tedeschi