Now, on that line of code, I get an invalid use of null error. My code looks like this:
CODE
intOrgID = DLookup("OrgID", "OrgNote", "OrgID=" & intOrgID)
If intOrgID < 0 Then
Me.cmdViewNotes.Enabled = True
Else
Me.cmdViewNotes.Enabled = False
End If
If intOrgID < 0 Then
Me.cmdViewNotes.Enabled = True
Else
Me.cmdViewNotes.Enabled = False
End If
Any assistance would be greatly appreciated. Thank you,
Chester