Simple Login (1 Viewer)

hfsitumo2001

Member
Local time
Today, 05:36
Joined
Jan 17, 2021
Messages
365
Hi.. Anyone can help me why my simple login can not work, I think all the VBA on Click event is already correct.

In my actual login form also I have a welcome scrolling label. Will it hinder the Set Focus, and can not close the form?
 

Attachments

  • SimpleLogin_A.accdb
    704 KB · Views: 124

June7

AWF VIP
Local time
Today, 04:36
Joined
Mar 9, 2014
Messages
5,423
Code does not have combobox name correct. Should be ComboBoxUserSelect not ComboUserSelect. Precede controls with form reference or its Me shortcut to discover errors like that: Me.ComboBoxUserSelect.

Also misspelling of LoginForm it shows LoginFrom. So that's why doesn't close.

It is not necessary to type .Value property because it is default for data controls.
 
Last edited:

arnelgp

..forever waiting... waiting for jellybean!
Local time
Today, 20:36
Joined
May 7, 2009
Messages
19,169
agree to use Me., so you get the List of properties/method.
 

Attachments

  • SimpleLogin_A.accdb
    704 KB · Views: 104

hfsitumo2001

Member
Local time
Today, 05:36
Joined
Jan 17, 2021
Messages
365
Code does not have combobox name correct. Should be ComboBoxUserSelect not ComboUserSelect. Precede controls with form reference or its Me shortcut to discover errors like that: Me.ComboBoxUserSelect.

Also misspelling of LoginForm it shows LoginFrom. So that's why doesn't close.

It is not necessary to type .Value property because it is default for data controls.
thank you June
 

Users who are viewing this thread

Top Bottom