I have a table name timelogTB
and it has 5 column named; LogID(PK)
, EmpNo(FK)
, Time_In
, Time_Out
and Date
running in form1
.
Then in form2
I have a combobox
where the Employee # of an employee can be selected and when I will select an Employee # the total number of days worked of that employee will display in a textbox
using 2 date time picker,
the dtpicker1
is labeled dtpFrom
and dtpicker2
is labeled dtpTo
.
The column Date
in timelogTB
is only recording the date when the employee is time in using also a date time picker.
I am looking forward for a favorable answer guys, as much as possible I want you to explain it more simpler and precise because I am new in vb2010
thanks in advance!