User Variable Problem!
Hi!
I creat 2 own variable az RES1,RES2 and in column header I set RES1=0 & RES2=0 then I used this code in obp of mastrdata band:
if [DataModule2.ABSQuery4."Pricetype"]='A' then
[RES1]:=([RES1]+[DataModule2.ABSQuery4."Price"]);
if [DataModule2.ABSQuery4."Pricetype"]='B' then
[RES2]:=([RES2]+[DataModule2.ABSQuery4."Price"]);
in the masterfooter band I want to get RES1 & RES2 in 2 memos but with
insert [RES1] or [RES2] the result show 0 and report cant calculate the responses.
please help...
thanks & best regards!
I creat 2 own variable az RES1,RES2 and in column header I set RES1=0 & RES2=0 then I used this code in obp of mastrdata band:
if [DataModule2.ABSQuery4."Pricetype"]='A' then
[RES1]:=([RES1]+[DataModule2.ABSQuery4."Price"]);
if [DataModule2.ABSQuery4."Pricetype"]='B' then
[RES2]:=([RES2]+[DataModule2.ABSQuery4."Price"]);
in the masterfooter band I want to get RES1 & RES2 in 2 memos but with
insert [RES1] or [RES2] the result show 0 and report cant calculate the responses.
please help...
thanks & best regards!