in 10.0.0.1449, Retreive datatable schema command erases all fields events.
I double checked this behaviour by creating a new dataabstract vcl application with custom server and used the default pctrade schema. The i added on tbl_customer.name a onChange event. If i retreive the schema, the event is cleared.
my problem is that that happens in IDE when i right click on MemDataTable, a behavior that didn’t happen in the past. I know thata solution whould be to assign events on code.
for client-calculated/located fields events will be preserved, but for usual fields, events will be lost always.
this behavior wasn’t changed for ages
Hi,
I can reproduce this behavior with the latest DA9 and can’t with DA10.
also I can’t find what code causes it because TDADataTable.LoadSchema method wasn’t changed…
Can you declare field events using business client rules as with table events? If true then you can fix that way. If dont I believe have no sense (and is incorrect) loading schema at design time delete fields events, dont you believe?