Hi all,
I have a form with many textboxes all laid out bound to my query. I now need to perform a cross check of data within these form fields against another source. If it doesn't, I would like for the textbox to display a basic red border.
This is all fine. I can do this with some fairly standard vba. However, I've begun to think about classes. My idea is that instead of duplicating the same code over and over again for the many textboxes i have on my form, I can use a class. I would need to turn the border of the selected textbox red (failed) and grey (passed). Except I don't really know anything about classes.
Can someone please provide me with some code that I can study and try to implement in my project. I'm pretty competent in general VBA, but classes are new.
Cheers
Bookmarks