Home » U++ Library support » U++ SQL » SqlArray row validation bug
SqlArray row validation bug [message #4449] |
Wed, 09 August 2006 12:41 ![Go to next message Go to next message](theme/default/images/down.png) |
zsolt
Messages: 698 Registered: December 2005 Location: Budapest, Hungary
|
Contributor |
|
|
I tried to use WhenAcceptRow to validate user input, but when returning false, the changes of fields other than last modified fields disappiered from array and database.
I have changed Accept() method to:
bool SqlArray::Accept() {
bool b = ArrayCtrl::Accept();
if(b) Ctrl::ClearModify();
return b;
}
And now it seems to be working well.
|
|
|
|
|
Goto Forum:
Current Time: Sat Jun 15 20:39:54 CEST 2024
Total time taken to generate the page: 0.02665 seconds
|