I update the person document with new values from an Oracle database on a scheduled Daily basis. The names.nsf(Primary) database is replicated. I have attached the script below as I do not understand why I continually get loads of replication conflict entries (it’s not on every person document though - however the script does run on every document!). Is this due to this peice of code:
notesdoc.Save True, True
SHOULD IT BE?
notesdoc.Save True, False
i.e force the save, but do not create a response document
Script below, THANKYOU.:
======
While Not (notesdoc Is Nothing)
count = count + 1
notesdoc.ComputeWithForm False, False
Call notesdoc.ReplaceItemValue("OfficeStreetaddress", IFSdoc.Work_Address)
Call notesdoc.ReplaceItemValue("OfficeCity", "" )
Call notesdoc.ReplaceItemValue("OfficeZip", IFSdoc.Work_PostCode)
Call notesdoc.ReplaceItemValue("OfficeCountry", "")
notesdoc.Save True, True
'notesdoc.Save True, False
Set notesdoc = notescollect.getnextdocument(notesdoc)
Wend
Set IFSdoc = IFSview.getnextdocument(IFSdoc)
Wend