Simple Login

hfsitumo2001

Member
Local time
Today, 09:49
Joined
Jan 17, 2021
Messages
394
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

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:
agree to use Me., so you get the List of properties/method.
 

Attachments

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

Back
Top Bottom