Re: Shared Variables -
I've used these two documents in the past - hope they help....
---In email@example.com, <firstname.lastname@example.org> wrote:
Thank you for your reply and nice diagram for Shared Variables.
I have tried putting the variable in all the groups â€“ headers but, nothing is working.
Working on a RMA rate of returns that compares Sales Quantity to RMA receipt Qty.
I Reworked the BAQ to use the PartTran table where TranType in MFG-CUS, STK-CUS and RMA-INS.
The customer number is on the Part Tran table for MFG-CUS and STK-CUST but, I had to link the RMA header to PartTran to get the Cust on RMAâ€™s.
I created a calculated field for Customer ID
If PartTran.TranType = 'MFG-CUS' then Customer.CustID
ELSE IF PartTran.TranType = 'STK-CUS' then Customer.CustID
However in the BAQ Report Designer â€“ it will filter on a Calculated field.
From: email@example.com [mailto:firstname.lastname@example.org] On Behalf Of Vic Drecchio
Sent: Tuesday, October 29, 2013 6:59 PM
Subject: RE: [Vantage] Crystal and Shared Variables
Do you have the variable in a subsequent section upon returning from the subreport?
There is a document in the FILES section of this site that gives an example and instruction.
I am having a terrible time with a subtotal from a Subreport.
I passed a shared variable from the main report to the subreport and that works great.
Now I need to pass a shared variable from the subreport to the main report and the total appears on the next record.
I have used WhilePrintingRecords but, nothing is working.