Very big problem with conflict document

Hi my problem is that i have a NoteDocument open (edit mode or not). In this document I have a button to call another document. In this document, when I save, I modify value in back-end document of my first open document and close document. If user modify first open document, at save event he receive a message like :

Another user modify document …

I know it’s normal and I know why but I want to know If it’s possible to not have this message and not generate conflict document.

Thanks

Subject: Very big problem with conflict document

A couple things you can do. Personally, I’d start out with a blank sheet of paper and a pen, and map exactly when each form’s events fire off given your code and how it accesses and writes to and eventually saves each of the two documents in question.

After mapping that out I’d see which is easier and better for your given workflow (the task that your user is performing).

  1. Save and close the first document when the user launches the second doc.

  2. Force a save on the first doc as you launch the second document.

  3. Force a save on the first doc just before you write a value back to it from the second doc.

It may even take a combination of two or all three of these ideas to make things work. Then again, since I don’t have your workflow in front of me I could be completely off base and none of this would work. :wink:

Good luck!