#1 2021-10-15 09:36:41

Stemon63
Member
Registered: 2016-10-24
Posts: 50

mORMotMidasVCL for mORMot 2.0

Hello, is there anyone who has updated mORMotMidasVCL  for Mormot 2.0? It works?
If possible please tell me where I can download updated mORMotMidasVCL.pas for  mORMot 2.0.
Thanks in advance!!

Another: In the old release (1.8) there is an error when SynDbdataset creates string fields, ignoring the default length of the field and setting it to the length of the longest string found. Question: Is the length of the string fields indicated in the header of binary data? If yes, it is not assigned when creating FieldDefs.
Thanks for this spectacular library!

Offline

#2 2021-10-15 15:33:40

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

Re: mORMotMidasVCL for mORMot 2.0

The MIDAS / TClientDataSet unit is not available in mORMot 2 currently.
We translated into mormot.ui.*.pas  the other read/only TDataSet, but not the read/write TClientDataSet.

IIRC TClientDataSet induces a huge dependency to a lot of MIDAS functions which we don't need.
Any hint and reference documentation about how to code a writable TDataSet in conjunction with VCL/FMX code is welcome.

Offline

#3 2021-10-15 19:06:41

emk
Member
Registered: 2013-10-24
Posts: 96

Re: mORMotMidasVCL for mORMot 2.0

Offline

#4 2021-10-15 19:41:22

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

Re: mORMotMidasVCL for mORMot 2.0

Yes, good, proven, and recent reference code.

It seems that our own virtual TDataSet is almost ready to be writable: just a method to add.

Offline

#5 2022-10-03 15:56:05

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

Re: mORMotMidasVCL for mORMot 2.0

Please try https://github.com/synopse/mORMot2/commit/c5f33140
for TClientDataSet preliminary support in mORMot 2.

Offline

Board footer

Powered by FluxBB