Title: RTCMemDataSet Locate Method Post by: manoi on August 11, 2017, 06:32:46 AM Hi,
I've use TRTCMemDataset in mobile application (freepascal) and use it as TClientDataset replacement and it work very well but I need the locate function to work from RTCMemDataset. Do you have any suggestion ? Title: Re: RTCMemDataSet Locate Method Post by: D.Tkalcec (RTC) on August 11, 2017, 07:28:24 AM Sorry, but the TRtcMemDataSet component is deprecated and I have no plans to extend it with new features. If you need anything that is NOT already implemented in the TRtcMemDataSet component and you can NOT port your project to a later Delphi version to use the TRtcClientDataSet component (which is based on TClientDataSet), you could try some other in-memory DataSet component for FreePascal to see if it better suits your needs, or ... you could write your own version of a "TRtcMemDataSet" component and implement the missing function(s) yourself.
Best Regards, Danijel Tkalcec Title: Re: RTCMemDataSet Locate Method Post by: manoi on August 12, 2017, 04:05:21 AM OK. I've modify routine from JvDBUtils.DataSetLocateThrough
Code: function DataSetLocateThrough(DataSet: TDataSet; const KeyFields: string; and modify TRtcBaseDataSet.Locate to Code: function TRtcBaseDataSet.Locate(const KeyFields: string; const KeyValues: Variant; Options: TLocateOptions): Boolean; Now it work. Title: Re: RTCMemDataSet Locate Method Post by: D.Tkalcec (RTC) on August 12, 2017, 07:49:59 AM Ok. Thank you for your feedback.
Best Regards, Danijel Tkalcec |