At 16:21 2014-03-07, Eurico Chagas Filho <[email protected]> wrote:
Well, you only need to validate when u r saving some data, right.
No. I need it when changing rows, too.
So, from the queryunload() u call the save()
method, and it calls a beforesave()
method where u check your data.
Therefore u only save if your data is ok, if it
is not and u want to leave the form, u just don“t
save the data.
My validation is also at the control
level. I need to detect the form close so I can
bypass that validation. The QueryUnload happens
after when I need to know that it will happen. Thus, my kludge code.
[snip]
Sincerely,
Gene Wirchenko
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.