N
NNlogistics
Sorry for this question. It seems to be well covered but I quess I'm thicker
than most. I am trying to set a text box to nothing - Blank - Null. I
thought I understand the difference but here goes.
My code looks like this
If Left(Me.txtProductCode, 1) <> 1 Then
MsgBox ("Service Charge Codes always start with '1'")
Cancel = True
Me.txtProductCode.Value = Null
=""
The underlying field is a text field
Exit Sub
End If
I get a run Time error 2115
Ive tried = ""
tried Me.txtProductCode = null
than most. I am trying to set a text box to nothing - Blank - Null. I
thought I understand the difference but here goes.
My code looks like this
If Left(Me.txtProductCode, 1) <> 1 Then
MsgBox ("Service Charge Codes always start with '1'")
Cancel = True
Me.txtProductCode.Value = Null
=""
The underlying field is a text field
Exit Sub
End If
I get a run Time error 2115
Ive tried = ""
tried Me.txtProductCode = null