The DataSet. First;
While not a DataSet. Eof do
The begin
If (a DataSet [' OutBackDate] & gt;=Edt_DZAreaDate. DateArea. StartDate) and
(the DataSet [' OutBackDate] <=Edt_DZAreaDate. DateArea. EndDate) then
The begin
CDS_BQUnDZList. Append;//error statement
CDS_BQUnDZList. Edit;
DSetOP. CopyDSet (DataSet, CDS_BQUnDZList);
CDS_BQUnDZList [' InVoiceID] :=CDS_KPRec [' InVoiceID];
The DataSet. Delete;
End
The else
The DataSet. Next;
end;
end;
Pray god to solve
CodePudding user response:
CDS_BQUnDZListDSetOP
What is control?
CodePudding user response:
Append method is TDataSet abstract methods, depending on the different implementations may have different behavior,According to my guess, is the realization of the TClientDataSet Midas. DLL, no source code to see), after may edit, need to Post to return to the Open state, to Append on to the next article.
CodePudding user response:
Should be the dataset. Delete, don't know why you are here to write this sentence, try to get rid of