on 06-23-2011 1:39 PM
Dear colleague,
I have implemented an office control to change a word document. I am using the expert mode.
I do not react on windows toolbar, but provide toolbar button to 'Save' and 'Close'.
When the user press 'Close', I need to check if the document has been changed to send a confirmation prompt.
Currently, when the document is open, or when it is saved on database, I store the value of XDATA in a controller variable, and I check changes by comparing the saved value with the one which is in my context element.
If I open the document and don't change it, the comparison works fine. No changes are detected.
If I open the document, do some change, save and save again, the comparison fails and system did not recongize that the version on the UI has not been changed since the last DB update.
How can I know if the document has been changed or not?
Thanks for your help,
Barbara
There may be a work around when you use context change log to see the actual changes in the context. Otherwise you need to compare the xstring which is tedious process.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.