Now it is returning a value for the variable user into the verify table however perms is still returning an empty value.

VB Code:
  1. Private Sub cmdLogin_Click()
  2. Dim mrs As Recordset
  3. Dim perms As String
  4. Dim permQuery As String
  5. Dim writeQuery As String
  6. user = txtUsername.Text
  7.  
  8. writeQuery = "INSERT INTO verify(username, permissions) VALUES ('" & user & "', '" & perms & "')"
  9. permQuery = "SELECT permissions FROM users WHERE username = '" & user & "'"
  10.  
  11. Set mrs = New Recordset
  12. mrs.Open permQuery, mySQL, adOpenStatic, adLockReadOnly
  13.         If Not mrs.EOF Then
  14.             perms = mrs.Fields("permissions").Value
  15.             mrs.Close
  16.             Set mrs = Nothing
  17.         End If
  18. If UserCheck(txtUsername.Text, txtPassword.Text) = True Then
  19.         mySQL.Execute writeQuery
  20.         mySQL.Close
  21.         Set mySQL = Nothing
  22.         frmMenu.Show
  23.         Unload Me
  24.     Else
  25.         MsgBox "You have no account in our database", vbCritical
  26.     End If
  27. End Sub

Am I not doing something right with the recordset? It seems to keep returning a null value.