|
发表于 2014-3-20 08:34:20
|
显示全部楼层
Ive changed the code a little please see below
['Register']=n:IF(ATTRN('CRL BAR Period',!CRL BAR Period,'Presentnum')>0,DB('Test1',!CRL Branch,!CRL BAR Period,!CRL BPR Scenario,'Register Available'),DB('Test1',!CRL Branch,ELCOMP('CRL BAR Period',!CRL BAR Period,ELCOMPN('CRL BAR Period',!CRL BAR Period)),!CRL BPR Scenario,'Register Available'));
['Register Available']=C:If(ELLEV('CRL BAR PERIOD',!CRL BAR PERIOD)<>0 & ATTRN('CRL BAR Period',!CRL BAR Period,'Presentnum')>0 ,DB('Test1',!CRL Branch,ELCOMP('CRL BAR Period',!CRL BAR Period,ELCOMPN('CRL BAR Period',!CRL BAR Period)),!CRL BPR Scenario,'Register'),DB('Test1',!CRL Branch,'25/10/2011',!CRL BPR Scenario,'Register'));
if you see on the screen shoot i want Oct -11 to be 6000 but sept -11 to be 3000 the last leaf of the consolidation
and year 2011 to be as it is 6000
Thank for your reply i hope you understand a bit better now |
|