hello,
I have a form in which users input reports of "sales visit". Usual fields as "customerID", "meetingDAte", etc and the main field is the "minute of meeting". The last field is the most important, users type in long texts and sometimes past from word or emails.
I have included a cmd button that the users can press and this will generate an automatic email to notify some other users that a new visit report has been input and showing the content on the email. Everything is fine but the problem is that many users keep on forgetting to hit that button!
I am trying to automate this, which I do on other forms but:
If I include the "sendEmail" call in the AfterUpdate event of the record that there will be several repeated emails becuase the user sometimes skip from the "minute of meeting" field to a subform and this will trigger the afterupdate event.
Maybe I can use the me.newrecord form property? I already added a boolean field "HasBeenSent" on the underlying table so that the email will be sent only once.
Any other idea? thanks
I have a form in which users input reports of "sales visit". Usual fields as "customerID", "meetingDAte", etc and the main field is the "minute of meeting". The last field is the most important, users type in long texts and sometimes past from word or emails.
I have included a cmd button that the users can press and this will generate an automatic email to notify some other users that a new visit report has been input and showing the content on the email. Everything is fine but the problem is that many users keep on forgetting to hit that button!
I am trying to automate this, which I do on other forms but:
If I include the "sendEmail" call in the AfterUpdate event of the record that there will be several repeated emails becuase the user sometimes skip from the "minute of meeting" field to a subform and this will trigger the afterupdate event.
Maybe I can use the me.newrecord form property? I already added a boolean field "HasBeenSent" on the underlying table so that the email will be sent only once.
Any other idea? thanks