update failed. found 0 records

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
lascala
Posts: 1
Joined: Fri 15 Jan 2010 17:16

update failed. found 0 records

Post by lascala » Fri 15 Jan 2010 19:42

Hello,
I working since hours at following problem :

After inserting, saving a new record and then trying to edit it, I receive
this message : "update failed. found 0 records"

my query looks like

SELECT
ucs_users.USER_REALNAME, ucs_users_1.USER_REALNAME, ucs_users.USER_FUNCTION, dta_planning.code_dta_projekt, dta_planning.name, dta_planning.id_par_shdevents
FROM
security.ucs_users
INNER JOIN sac.dta_planning ON ucs_users.USER_ID = dta_planning.id_acc_users
INNER JOIN security.ucs_users ucs_users_1 ON ucs_users_1.USER_ID = dta_planning.id_Respo
INNER JOIN sac.par_shdevents ON par_shdevents.ID = dta_planning.id_par_shdevents
ORDER BY
dta_planning.code_dta_projekt


Any hint would be great

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Mon 18 Jan 2010 07:52

Set the TCustomDADataSet.Debug property to True to display executing statement and all its parameters' values.
Also you can use the TMySQLMonitor component to monitor dynamic SQL execution in MyDAC based applications.

Post Reply