Hello I'm new to VBA programming. I have a table that i use a an append query to update. I would want to have some code that will check the table to see if the is an entry. I am using IsNull & IsEmpty but it's not working. the code I'm using is below. Any help would be appreciated.
DoCmd.OpenQuery "Qry Append Temp Supervisor", acViewNormal, acEdit
If IsNull("Temp_Supervisor.INCODE") Or "Temp_Supervisor.INCODE" = "" Then
MsgBox "Invalid Supervisor", vbRetryCancel Or vbCritical
SupHandler1
Else
DoCmd.OpenQuery "Qry Update Part Match Sup", acViewNormal, acEdit
DoCmd.OpenQuery "Qry Delete Temp Supervisor", acViewNormal, acEdit
End If