#1 2017-12-06 15:44:41

wai-kit
Member
From: Amsterdam, the Netherlands
Registered: 2012-11-27
Posts: 90

Type mismatch when using generated mORMotClient and TSQLTableToGrid

Hello fellow mORMot users,

I get a type mismatch error when using TSQLTableToGrid.Create with the REST client from the GetClient function
in the generated mORMotClient unit. I guess it is not the way to use the cross-platform units?

I am using the NewPascal distribution.
Any help in pointing me in the right direction is much appreciated.

Cheers,
Wai


fpcdeluxe, FPC 3.2 / Lazarus 2.0, mORMot on Windows 10 ...

Offline

#2 2017-12-06 19:38:46

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

Re: Type mismatch when using generated mORMotClient and TSQLTableToGrid

The cross-platform units are not compatible with TSQLTableToGrid.

Use the plain units.

Offline

#3 2017-12-06 22:53:52

wai-kit
Member
From: Amsterdam, the Netherlands
Registered: 2012-11-27
Posts: 90

Re: Type mismatch when using generated mORMotClient and TSQLTableToGrid

okay. merci.


fpcdeluxe, FPC 3.2 / Lazarus 2.0, mORMot on Windows 10 ...

Offline

Board footer

Powered by FluxBB