Hi All,
I have a table named Charges.
There is a field named Cur.
I creating a report and there is a sub report.
In the sub report i need to pull out the Cur data.
I try to use an array to present the Cur data.
Below is what i wrote.
I am very very new to crystal report. Sorry if i do not understand alot of thing.
whileprintingrecords;
SHARED StringVar THCO_CUR;
SHARED StringVar Array THCO_CUR_LOAD;
NumberVar i;
NumberVar NumRows := Count (THCO_CUR_LOAD);
For i:= i to NumRows do
(If THCO_CUR <> '' THEN
(THCO_CUR_LOAD:= THCO_CUR_LOAD;
i = i + THCO_CUR_LOAD;))