If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
How to stop code in procedure when opening new form
I made a login form.
You can enter username, password and a new password on this form. When data is entered in the 'new password' textbox, a new form opens. On this new form (re-enter password), the new password has to be entered again to dubbelcheck the input. When this new form is opened, I want to stop the procedure on the login form. When the password is entered correctly in the re-enter password form, the new password has to be stored and both the forms (re-enter password) and (login) have to be closed. How do I manage to stop the procedure on the login form while the second form is open or is there another solution for this problem? Thanks in advance, Toine |
#2
|
|||
|
|||
On Sun, 07 Aug 2005 22:24:24 +0200, A.J.M. van Rijthoven wrote:
I made a login form. You can enter username, password and a new password on this form. When data is entered in the 'new password' textbox, a new form opens. On this new form (re-enter password), the new password has to be entered again to dubbelcheck the input. When this new form is opened, I want to stop the procedure on the login form. When the password is entered correctly in the re-enter password form, the new password has to be stored and both the forms (re-enter password) and (login) have to be closed. How do I manage to stop the procedure on the login form while the second form is open or is there another solution for this problem? Thanks in advance, Toine Open the second form in Dialog. DoCmd.OpenForm "Form2", , , , , acDialog If Forms!Form2![ControlName] = Me![PasswordControl] then 'It's the same ' Do something here Else ' It doesn't match ' Do something else here End If -- Fred Please only reply to this newsgroup. I do not reply to personal email. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Retrieve ActionSettings via VB | BmlKidd | Powerpoint | 6 | March 30th, 2005 05:33 PM |
How can I stop the "Getting Started" pane from opening in Word 20. | mtvlgl | General Discussion | 1 | October 25th, 2004 09:15 PM |
Export to RTF very slow when code is present in Access report. | [email protected] | Setting Up & Running Reports | 11 | September 14th, 2004 08:17 PM |
Stop Toobar from auto opening in Word 2000 XP Prof? | Beth from So. Jersey | Page Layout | 1 | September 1st, 2004 04:04 PM |
Conversion of excel vba code to access vba | filnigeria | General Discussion | 5 | July 15th, 2004 02:23 AM |