Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

is there a way to call a method before my ado data object updates?

Status
Not open for further replies.

hoggle

Programmer
Jul 13, 2001
124
0
0
US
I need to know how I can trigger a method to validate some user entered text (on a bound text box) before the update command runs on my adodc data control (ado 2.6)

I want to make sure the data is valid before its put into the database

Also I need to be able to stop the update if the data is invalid.

thanks
 
Hi,
Have you tried the validate method of the text control? It works quite well in these conditions. You can even set it so that it will stay in focus until the proper text is entered.

I hope this helps.
Noble
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top