G
Gary
I am attempting to code so that when a form opens it grabs a query result and
if there is a value then it will show a MsgBox.
It works fine when there is a result (checking if User Login Name is the
result). However, if there are no results on the query it blanks the form.
My If statement included in the Click Event is:
If [qry_UnCompleteCU].[EnteredBy] = strUser Then
MsgBox "You have Uncompleted Requests - Please review and update."
End If
Is there a workaround if there are no results in the query?
Thanks.
if there is a value then it will show a MsgBox.
It works fine when there is a result (checking if User Login Name is the
result). However, if there are no results on the query it blanks the form.
My If statement included in the Click Event is:
If [qry_UnCompleteCU].[EnteredBy] = strUser Then
MsgBox "You have Uncompleted Requests - Please review and update."
End If
Is there a workaround if there are no results in the query?
Thanks.