InformationRegisterRecordSet.<Information register name>.Clear
Syntax:
Description:
Availability:
Example:
Query = New Query; Query.Text ="<query text>"; RecordsSet = InformationRegisters.OrganizationsWorkers.CreateRecordSet(); SelectionByRecorder = Query.Execute().Choose(); While SelectionByRecorder.NextByFieldValue("Recorder") Do RecordsSet.Filter.Recorder.Set(SelectionByRecorder.Recorder); While SelectionByRecorder.Next() Do FillPropertyValues(RecordsSet.Add(), SelectionByRecorder); EndDo; RecordsSet.Write(); // recordset stays unfilled after writing RecordsSet.Clear(); EndDo; |