Salam!
I am trying to update some attributes in the information register while others should stay unchanged. I use the RecordSet for that, but somewhy the previous data is deleted when I write the RecordSet. Here is what I do:
Code |
---|
RecordSet = InformationRegisters.ItemData.CreateRecordSet(); RecordSet.Filter.Item.Set(CurrentItem); For Each Record In RecordSet Do Record.ModifiedAt = CurrentDate(); Record.ModifiedBy = Ref; EndDo; RecordSet.Write(); |