Board index » off-topic » RDM OnGetData LogChanges problem
|
Jim Michels
Delphi Developer |
RDM OnGetData LogChanges problem2006-02-27 07:18:17 PM off-topic10 RDM OnGetData LogChanges problem I am having a strange problem with the LogChanges property of a DataSetProvider in a RemoteDataModule. Configuration: BDS2006 SP1, Delphi Win32 VCL ADO access to MS SQL Server 2000 Setup: The client program has a TClientDataSet connected to a TConnectionBroker, connected to a TDCOMConnection. The provider name is "AgentAccuracyRptPrv". The application tier has a TDataSetProvider named "AgentAccuracyRptPrv" connected to a TADODataSet connected to a TADOConnection which reads from MS SQL Server 2000. The Providers has an OnGetData event that modifies the DataSet to do some complex data manipulation that could not be done in SQL. Since this data is to be used for reporting only, there will never be any need to post changes back to the server. Problem: The problem is that when dataset.logChanges is set to true, everything works fine but the program runs very slow. When I set LogChanges to false, the program runs very fast, but the client does not get the changes. The client gets the original dataset before any changes are made. I am wondering if I am misunderstanding something here. I had thought that setting logChanges to false would only have the impact of not writing a delta. What am I missing? |
