#1 2015-07-06 08:38:33

Leslie7
Member
Registered: 2015-06-25
Posts: 248

ClientDataSet demo

Hi,

ApplyUpdates does not work. Looking at the code the IProviderSupport interface for update is not implemented.

function TSynDBSQLDataSet.PSUpdateRecord(UpdateKind: TUpdateKind;
  Delta: TDataSet): Boolean;
begin
  result := false;
end;

Offline

#2 2015-07-06 11:06:23

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,664
Website

Re: ClientDataSet demo

.. then it goes to TSynDBSQLDataSet.PSExecuteStatement and run the corresponding UPDATE SQL.

Offline

#3 2015-07-06 15:01:33

Leslie7
Member
Registered: 2015-06-25
Posts: 248

Re: ClientDataSet demo

I need to slow down and look more carefully. It is still not working for me ... will have an other look.

Offline

#4 2015-10-29 15:12:16

Leslie7
Member
Registered: 2015-06-25
Posts: 248

Re: ClientDataSet demo

Now I can describe the problem more precisely:
ApplyUpdates works with direct connections, but it does not with remote connections.

Last edited by Leslie7 (2015-10-29 17:29:13)

Offline

#5 2015-10-29 15:21:14

EMartin
Member
From: Buenos Aires - Argentina
Registered: 2013-01-09
Posts: 337

Re: ClientDataSet demo

Check TSynRestDataset, it may be useful (it is SQLite3\Samples\ThirdPartyDemos\EMartin\TSynRestDataset).


Esteban

Offline

#6 2015-10-29 17:15:36

Leslie7
Member
Registered: 2015-06-25
Posts: 248

Re: ClientDataSet demo

Thanks, I will have a look.

Offline

#7 2015-10-29 17:46:48

Leslie7
Member
Registered: 2015-06-25
Posts: 248

Re: ClientDataSet demo

Quite promising. smile

1. Some of the sources have NEXTGEN diectives. Is full NEXTGEN compatibility on  the horizon?

2. Is the FPC support fully working/stable?

3. Is this meant for FPC with Android target?

4. Smart Mobile Could be an other possible target. smile

Last edited by Leslie7 (2015-10-29 17:54:00)

Offline

#8 2015-10-29 18:25:01

Leslie7
Member
Registered: 2015-06-25
Posts: 248

Re: ClientDataSet demo

With  Delphi 10 and a few days old trunk the fish facts demo does not load any records and when trying to post a new record it  fails with an error.

Offline

#9 2015-10-29 19:44:05

EMartin
Member
From: Buenos Aires - Argentina
Registered: 2013-01-09
Posts: 337

Re: ClientDataSet demo

I'm use only Delphi 7 on Windows and works fine, never tested with other plattforms.


Esteban

Offline

#10 2015-10-29 21:07:55

Leslie7
Member
Registered: 2015-06-25
Posts: 248

Re: ClientDataSet demo

ok. thanks

Offline

Board footer

Powered by FluxBB