#1 2017-05-18 20:55:59

triguinhu
Member
From: Brazil
Registered: 2016-07-28
Posts: 27

Sample for SynCrossPlatform - fill a TDataset with TSQLTableJSON

Hi,

Has anyone implemented this yet?

Can anyone post an example of how to implement this in SynCrossPlatform using Delphi FMX for Android compilation?

I want to fill a TFDMemTable with TSQLTableJSON returned by a Mormot Server...

Thanks

Offline

#2 2017-06-20 12:38:03

triguinhu
Member
From: Brazil
Registered: 2016-07-28
Posts: 27

Re: Sample for SynCrossPlatform - fill a TDataset with TSQLTableJSON

How to proceed? Is this the best way?

Offline

#3 2017-06-20 15:12:45

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

Re: Sample for SynCrossPlatform - fill a TDataset with TSQLTableJSON

In the SynCrossPlatform context, TSQLTableJSON is able to fill your TSQLRecord fields, then you can fill your TFDMemTable from the TSQLRecord values.

Offline

#4 2017-06-20 17:10:00

Coonoo
Member
Registered: 2017-06-17
Posts: 6

Re: Sample for SynCrossPlatform - fill a TDataset with TSQLTableJSON

I am also being interested in that theme.

A (short) sample code would be great :-)

Offline

Board footer

Powered by FluxBB