I wrote some procedures which are like the following:
If KzeDag.Value = Null Then
dag = "**"
Else: dag = KzeDag.Value
Stop
End If
If the procedure has stopped, it says KzeDag.value = Null, but he doesn't proceed with the action dag = "**", instead he jumps to the else-action.
KzeDag is a list of values. I've had and still have problems with VBA reading whether the field is empty or not. What's the explanation for this and can anyone tell me how to solve it?
If KzeDag.Value = Null Then
dag = "**"
Else: dag = KzeDag.Value
Stop
End If
If the procedure has stopped, it says KzeDag.value = Null, but he doesn't proceed with the action dag = "**", instead he jumps to the else-action.
KzeDag is a list of values. I've had and still have problems with VBA reading whether the field is empty or not. What's the explanation for this and can anyone tell me how to solve it?