I have this code in my form to check and see if a DOC# has already been used and return the ITEM# of the item it was assigned to if it has been used. Otherwise it should return a NULL value.
But everytime I run it I get the little box with "Invalid Use of Null" in it.
How is that an invalid use of null??? Is there a valid use??
All lessons learned from the School of Hard Knocks........at least tuition is cheap.
Code:
stDOCUsed = DLookup("[Item]", "PartsRequestData", "[DOC] = '" & Me![frmSUBAssignDocs].Form![txt1].Value & "'")
But everytime I run it I get the little box with "Invalid Use of Null" in it.
How is that an invalid use of null??? Is there a valid use??
All lessons learned from the School of Hard Knocks........at least tuition is cheap.