Hi friends,
Is there anyway to create a custom public validation / null check function or sub to be called from different forms. Imagine I have 10 forms with some common text box entry components (all same name for instance firstName.txt ,lastName.txt ....) . Instead of check for their validity by a sub in the codebehinde in each individual form; I want to call a sub from my module(where I keep all my common subs/ functions) to do a job . I tried to do so but when I put my validitycheck sub in the module (as a common sub to recall it within different forms ) , it will raise error that I don't know firstname.txt (for example). it would be great if someone could show me away to do so , I rathered to have this common sub next to my other common subs/functions in the same module.
I hope I was enough clear to get some feedback
Regards