Currency field mapped as TMemoField
Posted: Tue 04 Jul 2017 16:46
Hi to all,
I am testing UniDAC and trying to integrate it with a small layer of mine own that will handle both UniDAC and FireDAC. I'm using version 7.0.2 for RAD Studio 10.1.
One of the problems I've stumbled upon is that given this SQLite table:
... and dropping a TSQLiteProvider a TUniConnection and a TUniTable... I can correctly reach the database and open the table... but those two currency fields are mapped as TMemoField objects. This happens with the IDE fields editor, but also at runtime. If I define them as TCurrencyField persistent fields in the IDE, when I open the table I get an error that says it was expecting a TCurrencyField, but actually found a TMemoField.
The same thing happens with a TUniquery (SELECT * FROM patients)
Any ideas?
TIA
Marco
I am testing UniDAC and trying to integrate it with a small layer of mine own that will handle both UniDAC and FireDAC. I'm using version 7.0.2 for RAD Studio 10.1.
One of the problems I've stumbled upon is that given this SQLite table:
Code: Select all
CREATE TABLE patients (
id BINARY(16) PRIMARY KEY,
...
total_bonuses CURRENCY,
credit_limit CURRENCY,
...
);
The same thing happens with a TUniquery (SELECT * FROM patients)
Any ideas?
TIA
Marco