【发布时间】:2014-09-26 12:43:29
【问题描述】:
我的 MS Access 报告中有一个场景,其中特定文本框的 ControlSource 可能会根据绑定到该报告的字段的值而有所不同。
例如:
If VALUE = 1 then
Me.txtFeesAndExpenses.ControlSource = "The following fees for this specific scenario are " & FEE_VALUE
End if
或
If VALUE = 2 then
Me.txtFeesAndExpenses.ControlSource = "The following fees for this OTHER specific scenario are " & FEE_VALUE
End if
我不知道应该将此代码放在报告中的哪个位置,以便将正确的值绑定到文本框。
【问题讨论】: