Iv used arrays to store usernames
Iv stored the array data in a procedure called "Usernames"
But im wondering if its possible to then use the arrays to do a crosscheck validation for a login.
Iv done some extent of research and Im either typng it wrong...Or I dont know what im trying to say.
I have this so far:
Option Explicit
'Declares an array to store the names for login
Dim arrNames(3) As String
Private Sub Usernames()
'Assigns names to array spaces
arrNames(0) = "BNSjon"
arrNames(1) = "BNSjack"
arrNames(2) = "BNSjane"
arrNames(3) = "BNSjill"
End Sub
Private Sub Form_Load()
'Disables password box
Call Disable_Passwordbox
Dim varUsername As String
Dim varPassword As String
varUsername = txtUsername.Text
varPassword = txtPassword.Text
End Sub
Im not sure if I need all that is in the last procedure there, but its what i have so far. Some help please. If it cant be done using arrays then let me know a different way to get it done.
Thanks Much
-Russell aka Rabbit