Dear Vixens and Reynards:

I have control-level validation for my data entry controls. In order to be really sure, I am now checking them all when the user clicks on OK. (If I am dealing with a row that has been adjusted to a wrong value outside of the system, I want to catch the error.)

The complication is that I have a few forms that have tabs. I check the control's value. If there is an error, an error messagebox will be thrown, then I do .setfocus() for the tab that the control is in followed by .setfocus() for the input control.

     Is this the correct or best way to do it?

     Are there any gotchas?

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.

Reply via email to