TDADataTable.CancelUpdateChange in M/D relation

Hello,

I’ve found a bug in TDADataTable.CancelUpdateChange method. An exception occurs using master/detail link and if MasterField and DetailField has different names. I’ve attached a sample project where master and detail tables are linked by “ID”/“MasterID” field. All you can do is just to click on the “Button1” and you get an error.

The problem occurs in my real-world application and i think it’s a bug. There’s no need to name linked fields the same.

Regards from Prague,
Jaroslav

DACancelUpdateChange.zip (11.5 KB)

Thanks, logged as bugs://75835

bugs://75835 got closed with status fixed.

bugs://i63787 was closed as fixed.

Logged as bugs://i63787.