Missing Variable in DB function but still work?
Posted: Mon Nov 25, 2013 6:18 am
I just came across one case for missing variable in DB function but it looks like there is no error when compiling and it is successful.
e.g.
The complete one
Missing category in the rule sheet
I missed !Category but it is still successful for compiling and calculation is right?
e.g.
The complete one
Code: Select all
['LY_Progress'] = C:
DB('Reporting',STR(NUMBR(SUBST(!Scenario,1,4)) - 1,4,0) | SUBST(!Scenario,5,2),!Category,!Location,!Program,'E_1');
Code: Select all
['LY_Progress'] = C:
DB('Reporting',STR(NUMBR(SUBST(!Scenario,1,4)) - 1,4,0) | SUBST(!Scenario,5,2),!Location,!Program,'E_1');