Home > Back-end >  At the beginning of the table
At the beginning of the table

Time:09-21

When nests append data sets neutron data set at beginning of table error and no error when first append, the second execution to report errors statements,
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_BQUnDZList
DSetOP
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
  • Related