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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DistinctCount on Shared Array Variable 1

Status
Not open for further replies.

dkidman

Programmer
Jan 12, 2001
4
US
I have a shared array variable that I am passing back and forth between a subreport and the main report that I populate with a 20 character value. This all seems to be working great. However, I need to display the distinct count of values on the first page of the report and this is where I am running into trouble. The evaluation on the first page only sees the values from the first page (even in the report header). If I place the formula in the report footer, then it is correct. I am even using whileprintingrecords. Any suggestions or hints would be greatly appreciated.

Dan.
 
Bad News. Shared variables HAVE to be WhilePrintingRecords, which means that they can ONLY be complete at the end of the report (when it is done printing). The subreports haven't even been processed while you are in the report header. Ken Hamady
Crystal Reports Training and a
Quick Reference Guide to VB/Crystal
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top