FMX TeeGrid+FDquery Insert problem
Posted: Mon Oct 01, 2018 8:58 am
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
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