G
Guest
Good Morning..
I was lucky to get some help yesterday but I am stuck again. I added in
another function that I did not anticipate when my question was initially
answered. People seem to want the moon and stars these days.
I have an event that will be triggered when it finds a user added to the
database that resides on a second table. However, I need to have the message
box tripped off if the Event Type on my entry form matches 3 different
events. Those events are: Sick, Personal Day & Sick- Used Vacation
I got it working on a single event yesterday with the following code:
If DCount("*", "Switchboard", "[Associate Name] = """ & Me![Associate Name]
& """") > 0 And Me![Event Type] = "Sick" Then
MsgBox "The agent entered is Switchboard coverage. Please advise Linda
of the absence."
I have been driving myself crazy trying to figure out what code to use to
make it look at multiple items.
Help please before I go postal w/ my hockey stick..
Thanks,
Jim
I was lucky to get some help yesterday but I am stuck again. I added in
another function that I did not anticipate when my question was initially
answered. People seem to want the moon and stars these days.
I have an event that will be triggered when it finds a user added to the
database that resides on a second table. However, I need to have the message
box tripped off if the Event Type on my entry form matches 3 different
events. Those events are: Sick, Personal Day & Sick- Used Vacation
I got it working on a single event yesterday with the following code:
If DCount("*", "Switchboard", "[Associate Name] = """ & Me![Associate Name]
& """") > 0 And Me![Event Type] = "Sick" Then
MsgBox "The agent entered is Switchboard coverage. Please advise Linda
of the absence."
I have been driving myself crazy trying to figure out what code to use to
make it look at multiple items.
Help please before I go postal w/ my hockey stick..
Thanks,
Jim