FMX TeeGrid+FDquery Insert problem

TeeGrid VCL / FMX for Embarcadero RAD Studio, Delphi, C++ Builder and Lazarus Free Pascal.
Post Reply
vino417
Newbie
Newbie
Posts: 1
Joined: Thu Mar 29, 2018 12:00 am

FMX TeeGrid+FDquery Insert problem

Post by vino417 » 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
Attachments
TeeTest.zip
(127.82 KiB) Downloaded 1285 times

Marc
Site Admin
Site Admin
Posts: 1272
Joined: Thu Oct 16, 2003 4:00 am
Location: Girona
Contact:

Re: FMX TeeGrid+FDquery Insert problem

Post by Marc » Thu Oct 04, 2018 3:05 pm

Hello,

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

Regards,
Marc Meumann
Steema Support

Post Reply