all records are deleted from table

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Veli
Posts: 4
Joined: Thu 19 Oct 2006 05:51

all records are deleted from table

Post by Veli » Thu 31 May 2007 06:48

Hi,
I have a mysql table (TMySqlTable).With Borland C++ I am going through this table for modification in backward direction.When i reached to the first record and execute Post() statement on the first record of table, all the records in the table have been deleted.Just before executing Post() statment records were there.

I have no such problem moving in forward direction.

Could anyone give me some hints to overcome this problem?

Thanks.

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

Post by Antaeus » Thu 31 May 2007 07:40

Please specify the exact version of data access components you are using, including the edition name and the build number.

Veli
Posts: 4
Joined: Thu 19 Oct 2006 05:51

problem solved

Post by Veli » Fri 01 Jun 2007 07:39

Hi All,
It has been solved.I removed the IndexFieldNames option from the table then problem is disappeared.

Regards,

Post Reply