Using a subreport number in the main report formula 8.00.809F

I'm assuming your using Crystal XI, of which I have no experience, but
in Crystal 8.5 the technique would be described as using a Shared
Variable. You create a formula field in the Subreport using the shared
command and another formula field in the Main report referring to the
same varible. Hopefully the command still exists in XI. Do a search
in help for "Shared Variable".

The example in my Training Guide is:

In the subreport Shared numbervar VariableName := Formula

In the main report Shared numbervar VariableName := VariableName

HTH,

Brian Stenglein


--- In vantage@yahoogroups.com, "mark_wildasin" <mwildasin@...> wrote:
>
> I have on hand qty and allocated qty from PartWarehouse table in the
> main report and have the total receipt qty from the rcvdetail table
in
> a subreport.
> I want to create a formula showing net available Onhand +
> TotalReceivedQty - AllocatedQty.
> Does anyone know how I can get the number (TotalReceivedQty) from the
> subreport and use it in my formula?
> Thank you in advance,
>
> Mark Wildasin
> Automatic Valve
>
I have on hand qty and allocated qty from PartWarehouse table in the
main report and have the total receipt qty from the rcvdetail table in
a subreport.
I want to create a formula showing net available Onhand +
TotalReceivedQty - AllocatedQty.
Does anyone know how I can get the number (TotalReceivedQty) from the
subreport and use it in my formula?
Thank you in advance,

Mark Wildasin
Automatic Valve