Hello,
I apologize if this has been answered elsewhere. I saw similar questions, but none for what I need. I am working on moving a paper form used by employees into a digital form. I am trying to set it up so that when an employee submits the form, it automatically triggers an email to be sent to their manager. I have two tables, one with the form information and one that houses information on each employee, including who their manager is. I then created a query that concatenates the managers name into a standard email format.
I know that you can use EmailDatabaseObject as an onclick event, but this requires that you type in the email address that the form should be sent to. My company is quite large and many employees would not know the managers email. What I would like to do is have the form automatically send to the manager's email that is associated with the employee (housed in the query mentioned above). I've searched all over for an answer to this and I'm comin up blank. I appreciate any help.
Thank you.