Professional Documents
Culture Documents
Script
Script
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
Private Sub Form_Current()
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
Private Sub Form_Current()
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
If (IsNull(DLookup("UserLogin", "tblUser", "UserLogin ='" & Me.txtLoginID.Value
& "'"))) Or _
(IsNull(DLookup("password", "tblUser", "Password ='" & Me.txtpassword.Value &
"'"))) Then
MsgBox "incorrect LoginID or password"
Else
UserLevel = DLookup("UserSecurity", "tblUser", "UserLogin = '" &
Me.txtLoginID.Value & "'")
DoCmd.Close
If UserLevel = 1 Then
End If
End If
End Sub
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
Private Sub Form_Current()
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End Sub
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
If (IsNull(DLookup("UserLogin", "tblUser", "UserLogin ='" & Me.txtLoginID.Value
& "'"))) Or _
(IsNull(DLookup("password", "tblUser", "Password ='" & Me.txtpassword.Value &
"'"))) Then
MsgBox "incorrect LoginID or password"
Else
UserLevel = DLookup("UserSecurity", "tblUser", "UserLogin = '" &
Me.txtLoginID.Value & "'")
DoCmd.Close
If UserLevel = 1 Then
End If
End If
End Sub
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
Private Sub Form_Current()
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End If
End Sub
End Sub
Option Compare Database
Private Sub Command1_Click()
If IsNull(Me.txtLoginID) Then
MsgBox "Please enter LoginID", vbInformation, "LoginID Required"
Me.txtLoginID.SetFocus
ElseIf IsNull(Me.txtpassword) Then
MsgBox "Please enter Password", vbInformation, "Password Required"
Me.txtpassword.SetFocus
Else
'process the job
End If
End Sub
End Sub