Use Variable @ Diff Form

Bluie

Registered User.
Local time
Today, 12:17
Joined
Oct 14, 2004
Messages
18
I have a login(Username & Password), and the username is not stored anywhere. is it to check from another table to see if the username and password is the same or not.

so how do i get this username if the id and pwd is matched and put them into another form?
 
The simplest method is to have a login form with the username and password. The user enters their details and clicks a button to which they are then logged in. Rather than close this form you can set its Visible property to No and, when you want to refer to it you can.

i.e.

Code:
If strPassword = Forms("frmLogin").txtPassword Then
 
may i ask, where do i put that code at?
 

Users who are viewing this thread

Back
Top Bottom