Quote |
---|
Timofey Bugaevsky wrote: But in this case you may sel ect too large amount of data. |
I'm not sure it's correct.
Filter by Recorder must be always set up. If you do not specify it - records set will be empty.
If you want to change all record you can select all recorder's reference fr om accounting register, next in the cycle create record set with filter by recorder, next change it how you need and write.
Code |
---|
Query = New Query(
"SELECT
| Managerial.Recorder AS Ref
|FROM
| AccountingRegister.Managerial AS Managerial");
Selecting = Query.Execute().Select();
While Selecting.Next() Do
Records = AccountingRegisters.Managerial.CreateRecordSet();
Records.Filter.Recorder.Value = Selecting.Ref;
Records.Read();
//do something here..
Records.Write();
EndDo;
|