Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Shared Variable Not working

Status
Not open for further replies.

blindlemonray

Technical User
Nov 24, 2003
130
GB
Hi All,

Working with Crystal 9

Sub report, shared variable in group footer in sub report. Formula is :-

whileprintingrecords;
shared stringvar rcsahrvarsub:= {@RC};

Sub report is group footer 1a. formula field is on group footer 1b. Formula is :-


whileprintingrecords;
shared numbervar rcsharvarsub;
rcsharvarsub

The shared variable field in the main report is coming back blank. Pleeeeeeeeeeeeeeeease help!

thanks in advance
 
The subreport formula is creating a StringVar, yet the other formula is using a NumberVar.
 
In addition to the inconsistent datatypes, you have misspelled the shared variable--used the name inconsistently--which is the drawback to using long identifiers.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top