TCRDBGrid vs. Insert/Append

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
trob
Posts: 14
Joined: Thu 27 Jul 2006 01:23

TCRDBGrid vs. Insert/Append

Post by trob » Thu 15 Mar 2007 22:19

After some scrolling in the database by the TCRDBGrid, if the TCRDBGrid is enabled when i call Insert or Append, it doesn't take the table in insert mode.

If i take the TCRDBGrid in Enabled:=False just before the Insert, then it works.
Or if the first thing is Insert after the application's start, it works too.

If i use Append, the table's pointer jumps to end of the table, but won't change to insert mode.

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Mon 19 Mar 2007 12:12

I used could not reproduce the problem.
Please send me a complete small sample at evgeniyD*crlab*com to demonstrate it, including script to create and fill table.

Also supply me the following information
- exact version of Delphi, C++ Builder or Kylix;
- exact version of MyDAC. You can see it in the About sheet of TMyConnection Editor.

Post Reply