I have a project which deal with DAILY TIME RECORD, i want to add the time in my form to the current record. Here it is.
if i enter my EmployeeID then click cmdFind the records will be given
Dim cn As ADODB.Connection
Dim rs As ADODB.Recordset
Private Sub cmdFind_Click()
rs.Find "EmployeeID = '" & txtIDnumber.Text & "'", , , 1
TextLastName.Text = rs.Fields!LastName
TextFirstName.Text = rs.Fields!FirstName
TextLocation.Text = rs.Fields!Location
End Sub
Then when i press cmdLOGIN the Time and Date in my Form should be placed in the current record
Private Sub cmdLogin_Click()
End Sub
Private Sub Timer1_Timer()
lblTime.Caption = Format(Time, "ttttt")
lblDate.Caption = Format(Date, "mm.dd.yyyy")
End Sub
Thanks in advance.