I am designing a database in which documents can be edited by 2 ways. By domino administrator and another through my own program.
when doc is opened in edit mode by admin and it is updated by my program, a save conflicted document is created when it is saved by admin.
My problem is to detect save conflict before notes warning message "Another copy of this document was saved while you were editing it. Save your changes also as a Save Conflict document" and if there is save conflict then ... do not save the document.
I am new to lotus script and am trying to write few codes in QuerySave event, but not getting any success. If anyone can help me with some sample code.. I shall be very thankful to you..
Software/Hardware used:
ASKED:
December 30, 2008 10:33 AM
UPDATED:
April 13, 2011 6:26 AM
Hey Ledlincoln thanks for the answer…
I tried locking the document but it didn’t worked in my case. My database is edited by only one user but in different ways 1) Through UI in notes and 2) through my own program (My DLL) using C/C++ APIs.
Is there any other option detecting save conflict before notes warning messages.
Iam also looking for the same….I need to Enhance the resolve conflicts utility in terms of the UI .I need lotus script code for this