G
Guest
I have the following code. MgrID is an auto number ID field.
Dim lngMgrID As Integer ' holds new person's MGR ID for tblEval
lngMgrID = Form_frmAddPerson.cboSelectManager.Value
If the user has NOT selected a name from cboSelectManager, the user gets "Invalid Use of Null"
I'd like to check lngMgrID for null or zero and print "User must select a manager. It can be changed later."
Dim lngMgrID As Integer ' holds new person's MGR ID for tblEval
lngMgrID = Form_frmAddPerson.cboSelectManager.Value
If the user has NOT selected a name from cboSelectManager, the user gets "Invalid Use of Null"
I'd like to check lngMgrID for null or zero and print "User must select a manager. It can be changed later."