After much research and trying, I can't find a simple way to validate all of my Textboxes on a form with 20 Textboxes.
I turn an Errorprovider ON in each of the Validate events for each textbox if there is an error, but when I click the save button without first moving to another control, the Table is updated with any invalid data and the Errorprovider is left ON.
What simple code (Loop) can I use in my Save Button to not update the Table if any field has an error?
I turn an Errorprovider ON in each of the Validate events for each textbox if there is an error, but when I click the save button without first moving to another control, the Table is updated with any invalid data and the Errorprovider is left ON.
What simple code (Loop) can I use in my Save Button to not update the Table if any field has an error?