LookupSet函数显示 #VALUE!。如果没有数据数据。 (在下面的示例中,N = 2)
iif(
LookupSet(<exp>, <exp>,<result>, "DATASET").Length > 2,
"",
LookupSet(<exp>, <exp>,<result>, "DATASET")(2)
)
我在Visual Studio的输出窗口中观察到以下错误。
[rsRuntimeErrorInExpression] The Value expression for the textrun ‘xxxx.Paragraphs[0].TextRuns[0]’ contains an error: Index was outside the bounds of the array.