You are not logged in.
Pages: 1
Hey!, i have some Questions about SynDataSet(mORMot1) in mORMot2.
* i found that mORMot2 not supporting yet the Communication with VCL Components,i don't know if it will release or not,
as i see the `ui` source (Github) for VCL/LCL User Interface oriented components;
* is there any other ways to accomplish that Goal => Assign DataSource.DataSet from TOrmTable instance
aList := Orm.MultiFieldValues(TOrmMyClass, '');
DataSource1.DataSet := TSynSQLTableDataSet.CreateOwnedTable
(Self, aList);
Thanks
Offline
It is not yet available.
Next logical step to convert for us, I guess, is to write a mormot.db.sql.ui.pas unit.
edit:
I have started to add some units about TDataSet for mORMot 2.
Check https://github.com/synopse/mORMot2/tree/master/src/ui
Online
Ok that's Good, Thanks
Offline
hi @ab
mormot.ab.rad.pas, line84
type
TBcd = FMTBcd.TBCD;
gives the following compiling error for Delphi 11 (at least):
[dcc64 Error] mormot.db.rad.pas(84): E2003 Undeclared identifier: 'FMTBcd'
[dcc64 Error] mormot.db.rad.pas(84): E2029 '=' expected but ';' found
Offline
hi @ab
mormot.ab.rad.pas, line84
type TBcd = FMTBcd.TBCD;
gives the following compiling error for Delphi 11 (at least):
[dcc64 Error] mormot.db.rad.pas(84): E2003 Undeclared identifier: 'FMTBcd'
[dcc64 Error] mormot.db.rad.pas(84): E2029 '=' expected but ';' found
Is TBcd = FMTBcd.TBCD even necessary? FMBCD unit has been referenced in the USES clause!
Offline
Yeah, i just come to say it, and i found already you put !, i have Delphi 10
Offline
It was defined to avoid a Data.FMTBcd reference in mormot.ui.rad uses clause.
I have disabled it so I hope it would compile on Dlephi 11.
Yes it works now
Offline
Pages: 1