hi All
Ms. SQl
Cr 9.0
I need youe help on this declared variable
i have one for
Territory like this
//{@reset} to be placed in the territory GH:
whileprintingrecords;
numbervar cntforterr := 0;
//{@accum} to be placed in the contact ID group footer:
whileprintingrecords;
numbervar cntforterr := cntforterr + {#GroupCount};
//{@display} to be placed in the territory group footer:
whileprintingrecords;
numbervar cntforterr;
sum({@SaleSMA}, {table.territory})/cntforterr
*********************************************
for Channel if have this
//{@resetchannel} to be placed in the channel GH:
whileprintingrecords;
numbervar cntforchannel;
if not inrepeatedgroupheader then
cntforchannel := 0;
Change {@accum} to:
//{@accum} to be placed in the contact ID group footer:
whileprintingrecords;
numbervar cntforterr := cntforterr + {#GroupCount};
numbervar cntforchannel := cntforchannel + {#GroupCount};
Then create a new formula to display the result in the channel group footer:
//{@displchannel}:
whileprintingrecords;
numbervar cntforchannel;
************************************
I need to create one now for grand total
Can someone show me how to
Thanks
fsreport
Ms. SQl
Cr 9.0
I need youe help on this declared variable
i have one for
Territory like this
//{@reset} to be placed in the territory GH:
whileprintingrecords;
numbervar cntforterr := 0;
//{@accum} to be placed in the contact ID group footer:
whileprintingrecords;
numbervar cntforterr := cntforterr + {#GroupCount};
//{@display} to be placed in the territory group footer:
whileprintingrecords;
numbervar cntforterr;
sum({@SaleSMA}, {table.territory})/cntforterr
*********************************************
for Channel if have this
//{@resetchannel} to be placed in the channel GH:
whileprintingrecords;
numbervar cntforchannel;
if not inrepeatedgroupheader then
cntforchannel := 0;
Change {@accum} to:
//{@accum} to be placed in the contact ID group footer:
whileprintingrecords;
numbervar cntforterr := cntforterr + {#GroupCount};
numbervar cntforchannel := cntforchannel + {#GroupCount};
Then create a new formula to display the result in the channel group footer:
//{@displchannel}:
whileprintingrecords;
numbervar cntforchannel;
************************************
I need to create one now for grand total
Can someone show me how to
Thanks
fsreport