D
Dorian
I have some code which checks if a record has been emailed.
The check is triggered whenever I move to a new record.
I have the check in the 'before update event'
When the user clicks the 'email' button, I have to do a save to ensure any
pending record changes are saved before I generate the email. This in turn
triggers the 'before update' event.
I am then in a situation where the user has clicked 'email' but then
receives a prompt that he has not emailed yet. I dont want to show the prompt
if it results from clicking 'email'.
How can I arrange this better so I don't have this problem? Thanks.
-- Dorian
"Give someone a fish and they eat for a day; teach someone to fish and they
eat for a lifetime".
The check is triggered whenever I move to a new record.
I have the check in the 'before update event'
When the user clicks the 'email' button, I have to do a save to ensure any
pending record changes are saved before I generate the email. This in turn
triggers the 'before update' event.
I am then in a situation where the user has clicked 'email' but then
receives a prompt that he has not emailed yet. I dont want to show the prompt
if it results from clicking 'email'.
How can I arrange this better so I don't have this problem? Thanks.
-- Dorian
"Give someone a fish and they eat for a day; teach someone to fish and they
eat for a lifetime".