Home > Back-end >  ClientDataSet connection DataSetProvider updates
ClientDataSet connection DataSetProvider updates

Time:10-09

If DataSetProvider and ClientDataSet correctly in the same window then save,
If put DataSetProvider DataModule cannot update, complains, what reason be
I get so, during the period of design
ClientDataSet. ProviderName:=DMCON. DataSetProvider1;
Save time
CDS. AppServer. AS_ApplyUpdates (' DMCON. DataSetProvider1, CDS, Delta, 0, ErrorCount, OwnerData);
DMCON is DataModule

CodePudding user response:

General read and write the database controls placed in a unit, Form calls using,

CodePudding user response:

As long as ready, when the design directly call CDS, ApplyUpdates method can, do not need to use IAppServer interface directly,

Has nothing to do with whether both CDS and DSP in the same window,

CodePudding user response:

Put a LocalConnection on DataModule (DataSnap page controls), so in the Form of ClientDataSet can to DataSetProvider in design.
  • Related