By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,191 Members | 1,064 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,191 IT Pros & Developers. It's quick & easy.

Make procedure wait for closure of a form to proceed

P: 5
I am trying to enhance an existing process where the user currently inputs his/her user ID and password in two separate InputBoxes. I created a form with a UserID field and a Password field (with Password input mask). I would like to minimize the impact to the application, so I would like to use this form instead of the InputBoxes.

The oversimplified version of my process is below. The MainProcess calls the EnterCredentials proc.
Public Sub EnterCredentials()
userID = InputBox("Enter your user ID", "Login")
userPassword = InputBox("Enter your password", "Login")
End Sub

Public Sub MainProcess()
'continue on with other processing
End Sub

How can I replace the EnterCredentials proc with an input form. I need to make sure I get the user's ID and PW before I continue on with other processing.

Any assistance would be greatly appreciated.
Mar 18 '08 #1
Share this Question
Share on Google+
2 Replies

P: 5
I believe I just answered my own question....I opened the form in acDialog mode and my problem seems to be solved.
Mar 18 '08 #2

Expert 2.5K+
P: 3,532
Good for you! Your solution is right on the mark! It's always more satisfying when you can suss out the answer yourself!

Welcome to TheScripts!

Linq ;0)>
Mar 18 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.