#1 Re: mORMot 1 » ToClientDataSet » 2018-05-22 07:58:45

Thank you,
I'll look for the binary format.

Best regard,
Jim Sirikolkarn

#2 mORMot 1 » ToClientDataSet » 2018-05-22 04:12:48

Jimsiri
Replies: 2

Hi,
I am very new to mormot. I read some mormot document and feel its a great framework.
I follow examples in section 8.1.6/8.1.7 with Lazarus(1.8)/FPC it works fine.
Then I try to use ToClientDataSet(...) in 8.1.9, it wouldn't compile under Lazarus, because unit SynDBMidasVCL.pas uses DBCommon (thru SynDBVCL.pas) which is in Delphi but not in FPC.

So I suppose this function (ToClientDataSet()) is for Delphi ONLY.
But when I looked at SynDBMidasVCL.pas, it does have section that define for FPC, this make me wondering do I miss understand something?
Under Lazarus/FPC if I want to show results from Props.Execute() (TSQLDBConnectionProperties) unto TDataSet for UI i.e. TDBGrid,
How can I do that?

Thanks

Jim Sirikolkarn

Board footer

Powered by FluxBB