How to solve document conflicts by code in lotus notes 7.0

How to solve document conflicts by code in lotus notes 7.0 When same database is opened by two users at the same time. How to update the data

Subject: How to solve document conflicts by code in lotus notes 7.0

It depend on what you want to achieve.

You could use document-locking to prevent a second user updating a document when the first user has already opend it for writing.

Subject: RE: How to solve document conflicts by code in lotus notes 7.0

How can i done in agent .Please help me