Home > Software engineering >  Ask the master to help write a piece of code. The first post, may not sent pictures, don't blam
Ask the master to help write a piece of code. The first post, may not sent pictures, don't blam

Time:09-26

When the input user name 1, password is 1, choosing the administrator, a interface form2.
When entering a user called aa, password is 11, select the user, appears interface form3.


Can add qq 3120517624

CodePudding user response:

 If Text1. Text="1" And Text2. Text="1" Then 
Me. Hide
Form2. Show
Elseif Text1. Text="aa" And Text2. Text="11" then
Me. Hide
Form2. Show
End the If

The simple and crude, too lazy to use the brain

CodePudding user response:

reference 1st floor aspower_ response:
If Text1. Text="1" And Text2. Text="1" Then
Me. Hide
Form2. Show
Elseif Text1. Text="aa" And Text2. Text="11" then
Me. Hide
Form2. Show
End the If
A simple and crude, too lazy to use brain

CodePudding user response:

You don't use the option, but still thank you,

CodePudding user response:

reference qq_34257398 reply: 3/f
you that don't use the option, but still thank you,

Why use OPTION?
You and made no mention of this problem?

CodePudding user response:

reference 4 floor aspower_ response:
Quote: reference qq_34257398 reply: 3/f

You don't use that option, but still thank you,

Why use OPTION?
You and made no mention of this problem?

Should be a window interface, use two radio buttons,
Choice is the "administrator" or "user" (standard user login,
Then according to the choice of the radio button,
We validate input "administrators group user name password", "password" user name "user group,
  • Related