Hello,
I need help ASAP for accounting report.
Using Crystal 8, I have main report and subreport. Subreport is located in Group Header 1 of main report. Using shared variables I am trying to print out the value of a field when certain conditions are met. Here is my formula. I cannot figure out why it is not working.
whileprintingrecords;
shared stringvar portfolio;
shared numbervar order;
shared numbervar taxgl;
if {SSL.PORTFOLIO}=portfolio and {SSL.ORDER_NO} = order then taxgl
I get the taxgl value only for 1 record. I've noticed that if the group(Security id) has more then 1 record, the value only comes back once and the rest are zeros. However, the groups that only have one value are working perfectly. Not sure what is happening. Your urgent help is appreciated. Thanks.
I need help ASAP for accounting report.
Using Crystal 8, I have main report and subreport. Subreport is located in Group Header 1 of main report. Using shared variables I am trying to print out the value of a field when certain conditions are met. Here is my formula. I cannot figure out why it is not working.
whileprintingrecords;
shared stringvar portfolio;
shared numbervar order;
shared numbervar taxgl;
if {SSL.PORTFOLIO}=portfolio and {SSL.ORDER_NO} = order then taxgl
I get the taxgl value only for 1 record. I've noticed that if the group(Security id) has more then 1 record, the value only comes back once and the rest are zeros. However, the groups that only have one value are working perfectly. Not sure what is happening. Your urgent help is appreciated. Thanks.