Avatar of Moe DeShong
Moe DeShong
Flag for United States of America asked on

Stop lost focus event

I have a text box that I enter a number in.  In the lost focus event it performs a lookup to find a record with that number and populate the form with the values.  If the number is not a valid record number then I want to pop up a message and return focus to the textbox. I have tried everything I can think of but cannot get that to happen. Suggestions?
Visual Basic.NET

Avatar of undefined
Last Comment
Moe DeShong

8/22/2022 - Mon

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Moe DeShong

Work perfect.  Thanks a million
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck