J
Jon
Greeting
I have a form that has 4 fields as follows:
empID
Work Date
No of hours
Group
I have 2 tables:
Employee info which has the following fields:
EmpID
EmpName
Group
HrsScheduled >>>>Default value =12
And it has EmpID as primary key
EmpWorkingHours
Which has the following fields:
empID
Work Date
No of hours
Each employee must not excess 12 hours per day and I would like to create a
list box to shows the number of hours available for this employee and others
within his group to be alternative options for the supervisor to assign the
work to another employee how do not have extra hours.
For example:
Current employee
employeeName work date Hours Group
EmployeeA 07/18/2009 4 A
Once I input above data and employee has more than 12 hours the following
msg appears:
This employee has 16 hours and you can not assign more hours to him, please
see select another employee from the list below
***Here is my question****
List box
EmployeeName Work Date Available hours Group
EmployeeB 07/18/2009 12 A
EmployeeC 07/18/2009 8 A
EmployeeD 07/18/2009 10 A
EmployeeE 07/18/2009 0 A
How to do the list box in order to select another employee ??
I have a form that has 4 fields as follows:
empID
Work Date
No of hours
Group
I have 2 tables:
Employee info which has the following fields:
EmpID
EmpName
Group
HrsScheduled >>>>Default value =12
And it has EmpID as primary key
EmpWorkingHours
Which has the following fields:
empID
Work Date
No of hours
Each employee must not excess 12 hours per day and I would like to create a
list box to shows the number of hours available for this employee and others
within his group to be alternative options for the supervisor to assign the
work to another employee how do not have extra hours.
For example:
Current employee
employeeName work date Hours Group
EmployeeA 07/18/2009 4 A
Once I input above data and employee has more than 12 hours the following
msg appears:
This employee has 16 hours and you can not assign more hours to him, please
see select another employee from the list below
***Here is my question****
List box
EmployeeName Work Date Available hours Group
EmployeeB 07/18/2009 12 A
EmployeeC 07/18/2009 8 A
EmployeeD 07/18/2009 10 A
EmployeeE 07/18/2009 0 A
How to do the list box in order to select another employee ??