Here's an example of how you might insert data into your table.
You'll have to replace the table & field names.
My command button is called Login.
In this example, an integer, three String fields, a Date & a Time are inserted into a Table named Users.
Code:
Private Sub Login_Click()
Dim Date_Worked, Strt_Time As Date
Dim intID As Integer
Dim StrUser_Name, StrEmail, StrUser_Type As String
Me.txtDate.SetFocus
Date_Worked = Me.txtDate
Me.txtTime.SetFocus
Strt_Time = Me.txtTime
Me.ID.SetFocus
intID = Me.ID
Me.User_Name.SetFocus
StrUser_Name = Me.User_Name
Me.EMail.SetFocus
StrEmail = Me.EMail
Me.User_Type.SetFocus
StrUser_Type = Me.User_Type
StrSQL = "INSERT INTO Users (ID, User_Name, EMail, User_Type, Date_Worked, Strt_Time) "
StrSQL = StrSQL & "VALUES (" & intID & ", " & "'" & StrUser_Name & "'" & ", " & "'" & StrEmail & "'" & ", " & "'" & StrUser_Type & "'" & ", " & "#" & Date_Worked & "#" & ", " & "#" & Strt_Time & "#" & "); "
'MsgBox StrSQL
DoCmd.RunSQL StrSQL
End Sub