Guest_imported
New member
- Jan 1, 1970
- 0
- 0
- 0
HI,
On my application I need to make some validations. If I put all the code in the same window, it will be difficult to mantain it. So I thought on making some sub in a module where I would validate the user inputs.
The problem is that I will need to pass byRef the various textBoxes I want to validat, because if I not pass them I will need to, again, put a lot of code in the form´s window.
The question is: Do you think that passing textboxes ByRef is not a good programming technic? Any ideias on this?
Thank you
On my application I need to make some validations. If I put all the code in the same window, it will be difficult to mantain it. So I thought on making some sub in a module where I would validate the user inputs.
The problem is that I will need to pass byRef the various textBoxes I want to validat, because if I not pass them I will need to, again, put a lot of code in the form´s window.
The question is: Do you think that passing textboxes ByRef is not a good programming technic? Any ideias on this?
Thank you