I have the following formula on a subreport that I am passing the count back to the main report (or at least trying to do):
WhilePrintingRecords;
global numberVar x := 0;
numbervar y := 0;
if (Count ({Cpfind.INTID},{Cpfind.INTID}) > 1) then (y = y + 1);
STORENUMBervar("x", y);
The Y+1 does not seem to be working and I am wondering if anyone can see something that I am missing. Even when the database meets the conditions for the count, all I get is a 0 when I fetch the variable on my main report.
I am hopefully just missing something simple. Any thoughts??
I am running Crystal 7 off from a Dbase database if this helps at all.
Thanks for all the help
WhilePrintingRecords;
global numberVar x := 0;
numbervar y := 0;
if (Count ({Cpfind.INTID},{Cpfind.INTID}) > 1) then (y = y + 1);
STORENUMBervar("x", y);
The Y+1 does not seem to be working and I am wondering if anyone can see something that I am missing. Even when the database meets the conditions for the count, all I get is a 0 when I fetch the variable on my main report.
I am hopefully just missing something simple. Any thoughts??
I am running Crystal 7 off from a Dbase database if this helps at all.
Thanks for all the help