jandrade15
Registered User.
- Local time
- Today, 13:30
- Joined
- Jul 29, 2009
- Messages
- 12
Requery TextBox on Lost Focus- SOLVED
Hi Everyone,
I have a property management db and I need to know if I have a duplicate before entering all the data on the property.
I have a text box (Property Address) and on the lost focus event I want to put a function where it can do the following:
- Check for a duplicate address
- Give a msgbox letting me know that I have a duplicate
- Take me back to the Property Address text box and do nothing so that I can either close the form or add a new property. I have the form in data entry mode.
Ive been beating my brain senselessly
to make this code work but im incredibly rusty and have been on a Access hiatus since 2002 when I started a Real Estate Business. I'm getting back into it now so any help would be tremendously appreciated. i'm hoping someone can give me some sample code that i can work off of....
BTW: I've searched all over the forums and on google to no avail. there seems to be a lot of posts but nothing i tried has worked! Thanks a million guys and gals!
Hi Everyone,
I have a property management db and I need to know if I have a duplicate before entering all the data on the property.
I have a text box (Property Address) and on the lost focus event I want to put a function where it can do the following:
- Check for a duplicate address
- Give a msgbox letting me know that I have a duplicate
- Take me back to the Property Address text box and do nothing so that I can either close the form or add a new property. I have the form in data entry mode.
Ive been beating my brain senselessly

BTW: I've searched all over the forums and on google to no avail. there seems to be a lot of posts but nothing i tried has worked! Thanks a million guys and gals!

Last edited: