mpegjunkie
MIS
Hi,
I have one master table and three detail tables linked 1:n to the same master field, respectively.
Master Table:
Customer
----------
Cust_ID
...
Detail Table 1:
OutstandingItems
-----------------
Cust_ID
AmountDue
ActFlag
...
Detail Table 2:
ValutaItems
---------------
Cust_ID
AmountNet
ActFlag
...
Detail Table 3:
IM_DailyVolume
--------------
Cust_ID
DailyRevenue
ActFlag
...
The aim is to get the GrandTotal of (Sum(D1.AmountDue) + Sum(D2.AmountNet) + Sum(D2.DailyRevenue)) grouped by Cust_ID and having the ActFlag set to NULL.
I'm using CR 9.0 Pro and get the Data via ODBC from a Centura SQLBase Database.
I made it already with three subreports and shared variables, but these variables only compute when displaying the subreports. I want the result as a single value, not displaying all the details. But when suppressing details, the "WhenPrintingRecords" is not executed.
Please give me a hint how to do this.
Thanks in advance,
mpegjunkie
----------------
I have one master table and three detail tables linked 1:n to the same master field, respectively.
Master Table:
Customer
----------
Cust_ID
...
Detail Table 1:
OutstandingItems
-----------------
Cust_ID
AmountDue
ActFlag
...
Detail Table 2:
ValutaItems
---------------
Cust_ID
AmountNet
ActFlag
...
Detail Table 3:
IM_DailyVolume
--------------
Cust_ID
DailyRevenue
ActFlag
...
The aim is to get the GrandTotal of (Sum(D1.AmountDue) + Sum(D2.AmountNet) + Sum(D2.DailyRevenue)) grouped by Cust_ID and having the ActFlag set to NULL.
I'm using CR 9.0 Pro and get the Data via ODBC from a Centura SQLBase Database.
I made it already with three subreports and shared variables, but these variables only compute when displaying the subreports. I want the result as a single value, not displaying all the details. But when suppressing details, the "WhenPrintingRecords" is not executed.
Please give me a hint how to do this.
Thanks in advance,
mpegjunkie
----------------