Hello. For some reason I get a syntax error for the bold line below. Any one know why?
Private Sub cmdClockOut_Click()
Dim cn2 As New ADODB.Connection
Dim rs2 As New ADODB.Recordset
Dim EN As String
EN = lblEmployeeNumber.Caption
'Connect to database
cn2.Provider = "Microsoft Jet...