Page 1 of 1

FMX TeeGrid+FDquery Insert problem

Posted: Mon Oct 01, 2018 8:58 am
by 18683377
Windows 10 64-bit Home
Embarcadero RAD Studio 10.2.3 Professional (Delphi Tokyo)
Firebird 3.0.2 (DataBase: CharSet: UTF8, COllation: UNICODE, User: SYSDBA, pass: masterkey)
FMX + TeeGrid 1.06 + FireDAC (TFDQuery)

Problem description:
When TeeGrid1.DataSource is FDQuery it's impossible to change FQuery.State to dsInsert :(

So:
TeeGrid1.DataSource := FDQuery1;
FDQuery.Edit ---------- works normally
FDQuery.Insert --------- doesn't work, the FDQuery1.State returns to dsBrowse

TeeGrid.DataSource := nil;
FDQuery.Insert ---------- works normally

I have a simple test in attachment

Re: FMX TeeGrid+FDquery Insert problem

Posted: Thu Oct 04, 2018 3:05 pm
by Marc
Hello,

Thanks for submitting the question. I don't see a quick answer to it but am running some checks.

Regards,
Marc Meumann