I use a TOracleDataSet in a 3-tiers prog. In the server side I use stored proc for updating data in then OnApplyRecord event.
When I found a error, I would like to advise the client side that data was not updated correctly.
I tried to assign False to the Applied parameter and/or raise exception with DatabaseError(...) but it doesn't work.
The client never know that an error occurs.
If there was no error, update works well.
What did I do wrong?
Excuse my english!
When I found a error, I would like to advise the client side that data was not updated correctly.
I tried to assign False to the Applied parameter and/or raise exception with DatabaseError(...) but it doesn't work.
The client never know that an error occurs.
If there was no error, update works well.
What did I do wrong?
Excuse my english!