G
Guest
Good Day Everyone..
I have a form which is used to write all of my data to the main table. This
all happens when the user clicks the 'Add' button.
Unfortunately, I need to have another function happen at the same time. I
need for the database to check the new record for a piece of data linked in
another table. (Ex. I say that associate xx is out for the day. As I write
the entry for associate xx to the table, I need to see if xx is a member of
another other table. If so then I need to run a macro which fires off an
e-mail to the selected users advising of the absence.)
I have built the macro as that was pretty darn simple but I am stuck on the
VB needed to make the command button do everything I want. If at all
possible.
Any help is greatly appreciated as this is my last problem with this newly
created database.
Thanks,
Jim
I have a form which is used to write all of my data to the main table. This
all happens when the user clicks the 'Add' button.
Unfortunately, I need to have another function happen at the same time. I
need for the database to check the new record for a piece of data linked in
another table. (Ex. I say that associate xx is out for the day. As I write
the entry for associate xx to the table, I need to see if xx is a member of
another other table. If so then I need to run a macro which fires off an
e-mail to the selected users advising of the absence.)
I have built the macro as that was pretty darn simple but I am stuck on the
VB needed to make the command button do everything I want. If at all
possible.
Any help is greatly appreciated as this is my last problem with this newly
created database.
Thanks,
Jim