Skip to Content
0
Aug 20, 2015 at 06:24 AM

Zero value on the First row

76 Views

Hi Experts,

Just wondering why still have a zero value in my column, e.g. i have a subreport and i want to view a record coming from main.

and it works, but the problem is still i have a zero (0) value in my first row, Please see example output below:

Totalx

0

451

555

568

0

11178

1000

98777

89955

45

23

.........

here is the code :

in SUBREPORT:

WhileprintingRecords;

shared NumberVar Totalx := 0;

Totalx := Sum ({@COMMISSION});

Totalx

MAIN:

WhilePrintingRecords;

Shared NumberVar Totalx;

Totalx

== Please help!! iam a begginner crystal report user.. your help is highly appreciated thank you in advance..===