I
iholder
I have read previous post on this error, but I am still having a problem.
The Box No. field is text data. I am trying to check if the Box No is on
file, before enter a new Box Number.
The DLookup string is return and "Invalid Use of Null"
Is there another approach to resolving this problem. See problem code below.
Dim strBoxNo
Dim Result As Variant
strBoxNo = InputBox("Enter Box Number")
' MsgBox strBoxNo
Result = DLookup([BoxNo], "tblRecordsMgt", "[Box No]=" & [strBoxNo])
If IsNull(Result) Then MsgBox "Not on File"
Thank you
The Box No. field is text data. I am trying to check if the Box No is on
file, before enter a new Box Number.
The DLookup string is return and "Invalid Use of Null"
Is there another approach to resolving this problem. See problem code below.
Dim strBoxNo
Dim Result As Variant
strBoxNo = InputBox("Enter Box Number")
' MsgBox strBoxNo
Result = DLookup([BoxNo], "tblRecordsMgt", "[Box No]=" & [strBoxNo])
If IsNull(Result) Then MsgBox "Not on File"
Thank you