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!

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.