VBA global variable lotus notes issue
Posted on 2009-12-23
I have an application that interacts heavily with Lotus Notes (email, databases, etc.) and I need to validate the user's Notes client (id file) password. I have a userform that initializes when my app starts and a textbox for the password. I declared the password variable globally because I want to be able to access it as many times as necessary until the app is closed. The problem seems to be that the variable is destroyed when the form is hidden. Bear in mind, I am not unloading the form, simply hiding it, so I don't know why my variable will not retain the value from the textbox.
Thanks in advance for your help!!