[OT] Crystal Reports question

yes. declare both variables in the subreports as formula fields using the
following syntax

// In this example the variable is a number variable
shared global numberVar XXXX := the value ;

Then create formulas in the main report calling this same variable

// the variable name from subreport 1 in this example
shared global numberVar XXXX;

It's important to place the formula in the report (you can suppress printing if
necessary) or the variables will not work properly.

Crystal help has a pretty good section on variables. I refer to it all the time
as I confuse easily!

HTH,
Mike

____________________Reply Separator____________________
Subject: [Vantage] [OT] Crystal Reports question
Author: <vantage@yahoogroups.com>
Date: 7/9/2002 11:13 AM


Is it possible to pass a variable *back* from a sub-report to the main
report in Crystal? In other words:

Main Report
Sub-Report #1
Resulting Variable #1
Sub-Report #2
Resulting Variable #2
Main Report calculation, using Variables #1 & #2

Thanks in advance.

============================================
Malcolm Spann
MIS
Malmberg Engineering
(925) 606-6500 x19
Malcolm@...
============================================



Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and
Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/links

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/