Hey guys, i've been googling for hours on this but can't seem to find anything.
I'm trying to loop through all the textboxes on a form and if the textbox is empty then change the back colour to red. I've found several pieces of code that can help me with this but i think here is where the problem lies: when i declare the control, its starts off as 'Dim Ctrl as Control' and soon as i go to the next line, 'Control' goes down to a lower case 'control' and as a result i cannot use several of its properties such as .Value. Anybody know what's going on and how i can fix it? Much appreciated!