Hi, bit new to VBA but learning quickly, I need to know if a value already exists in a table if it doesnt I want to send an email.
Something like this:
If forms![myform].value in table![mytable]column then
docmd.runmacro "sendemail"
I dont know what command to use for the in bit.
Hope you can help.
Rich
Something like this:
If forms![myform].value in table![mytable]column then
docmd.runmacro "sendemail"
I dont know what command to use for the in bit.
Hope you can help.
Rich