Force a TextBox validation in code?

T

timnels

I have an form that sends a message (an employee code) to another
form. When that form receives the message it plops that value in a
textbox and I want to run the code in the validation event of that
control without calling the validation event handler directly. I was
thinking I could set focus to the employee code textbox, plop the data
in, and the change focus to another field to get this to happen. That
doesn't seem to work. Is there another method?
Thanks!
 

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

Top