Home > Back-end >  Delphi dataset problem
Delphi dataset problem

Time:10-03

With datamodule2. ADODataSet1 do
The begin
Insert;
FieldByName (' member names.) AsString:=datamodule2. ADOQhuiyuanold. FieldByName (' name '). AsString;
FieldByName (' member phone number). AsString:=datamodule2. ADOQhuiyuanold. FieldByName (' mobile phones'). AsString;
FieldByName (' mobile phones belonging to '). AsString:=datamodule2. ADOQphone. FieldByName (' MobileArea). AsString;
Datamodule2. ADODataSet1. Post;
//datamodule2 ADODataSet1. Refresh;
end;


Datamodule2. ADODataSet1. Refresh; With the implementation of the period of very slow, but dropped it faster!

CodePudding user response:

You added the ADODataSet1 value set, the other you load the data?

CodePudding user response:

Write the table data is not large, a member of the query table data, has thousands of mobile phone number belongs to the data table is very large

CodePudding user response:

Close to the open can also be refreshed

CodePudding user response:

This is very slow, if the data quantity is big, can't understand why want to add a refresh, if want to do special handling such as by added the data out of the specific things will have better suggest that in the event of an afterpost,
  • Related