Is there some way to compare a control name with a string?.
Is it possible to build an control array without using the controls collection. I don't want to check every control on a form, only certain mandatory ones that need user input before exiting the form.
I tried defining a Control array and loading the array with the certain control names requiring user input. I then tried using the controls collection to compare each control name with the control names in my array to see if they needed validation but that didn't work. I don't know if it is even possible to do a comparison like acontrol.name = bcontrol.name.
Any suggestions would be helpful.
Is it possible to build an control array without using the controls collection. I don't want to check every control on a form, only certain mandatory ones that need user input before exiting the form.
I tried defining a Control array and loading the array with the certain control names requiring user input. I then tried using the controls collection to compare each control name with the control names in my array to see if they needed validation but that didn't work. I don't know if it is even possible to do a comparison like acontrol.name = bcontrol.name.
Any suggestions would be helpful.