我正在尝试检查是否为组合选择了一个值,但真正的部分(未选择任何值)抛出一个错误,指出:There is an invalid use of the . (dot) or ! operator or invalid parentheses.
If (Len(MinCombo) = 0) Then
MsgBox "true"
Else
MsgBox "false"
End If
I have also tried this code but it evaluates to the false part when a value is selected:
If (IsNull(MinCombo) = True) Then
MsgBox "true"
Else
MsgBox "false"
End If
我正在使用 MS Access Professional Plus 2010