Detecting when change notification message processing is complete
Posted: Wed 21 Nov 2018 21:07
I am a newbie to change notification processing and am rather overwhelmed by the amount of information that Microsoft provide on this topic.
My question is ...
Is there any way to tell whether all change notification messages relevant to the current instance of an application have been addressed by the application before proceeding to the next process statement?
I am currently using a Sleep command to ensure messages are cleared after issuing a Commit statement but this seems too arbitrary for my liking. I am doing this because if I don't do this I receive "record has been changed by another user" exceptions which interrupt the processing I am attempting to execute.
Any guidance or re-orientation on my approach that you can provide would be appreciated.
My question is ...
Is there any way to tell whether all change notification messages relevant to the current instance of an application have been addressed by the application before proceeding to the next process statement?
I am currently using a Sleep command to ensure messages are cleared after issuing a Commit statement but this seems too arbitrary for my liking. I am doing this because if I don't do this I receive "record has been changed by another user" exceptions which interrupt the processing I am attempting to execute.
Any guidance or re-orientation on my approach that you can provide would be appreciated.