我在公式字段中有这样的代码:
IF {CDJ.AC3} =“C3”那么本地STRINGVAR X:= {CDJ.AccountCode3};
IF {CDJ.AC4} =“C3”那么本地STRINGVAR X:= {CDJ.AccountCode4};
IF {CDJ.AC5} =“C3”那么本地STRINGVAR X:= {CDJ.AccountCode5};
IF {CDJ.AC6} =“C3”那么本地STRINGVAR X:= {CDJ.AccountCode6};
IF {CDJ.AC7} =“C3”那么本地STRINGVAR X:= {CDJ.AccountCode7};
IF {CDJ.AC8} =“C3”那么本地STRINGVAR X:= {CDJ.AccountCode8};
IF {CDJ.AC9} =“C3”那么本地STRINGVAR X:= {CDJ.AccountCode9};
IF {CDJ.AC10} =“C3”那么本地STRINGVAR X:= {CDJ.AccountCode10};
LOCAL STRINGVAR Z:= X
当前输出为:
ACCOUNT CODE
"NULL"
"NULL"
C3
"NULL"
"NULL"
我想像这样在页脚中显示:
ACCOUNT CODE
C3
我的问题是输出显示是:
ACCOUNT CODE
"NULL"/bkank