Where is the best place to validate data in an unbound form?

  • Thread starter Thread starter Paolo
  • Start date Start date
P

Paolo

Hi,

I have an unbound form with a save button. Currently, I do all my
validation when the save button is clicked. Is there a better way to
do this? It seems a little neanderthal to lump my validation code with
my onclick code.

Thanks in advance,

Paolo
 
You could put validation that simply concentrates on the value in a specific
control in the LostFocus event of that control.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top