HRick
Technical User
- Aug 4, 2004
- 4
I am trying to build a database to keep track of workers hours and prepare billing to client, but am having problems getting the tables to enter default values.
Have one table
tblLaborClass with
ClassNo PK
ClassName
Have second table
tblemployee with
EmployeeID PK
LastName
FirstName
cboClassNo - with RowSource from tblLaborClass
Have third table
tblManHours with
AutoNumber PK
Weekending
cboEmployeeID
LastName
FirstName
cboClassNo
Problems in tblManHours
1.When starting a new record in tblManHours, would like weekending to default to last record.
2.After selecting an EmployeeID in cboEmployeeID, would like cboClassNo to default to value stored in tblEmployee, but with option to change to a value stored intblLaborClass
Hope this makes sense.
HRick
Have one table
tblLaborClass with
ClassNo PK
ClassName
Have second table
tblemployee with
EmployeeID PK
LastName
FirstName
cboClassNo - with RowSource from tblLaborClass
Have third table
tblManHours with
AutoNumber PK
Weekending
cboEmployeeID
LastName
FirstName
cboClassNo
Problems in tblManHours
1.When starting a new record in tblManHours, would like weekending to default to last record.
2.After selecting an EmployeeID in cboEmployeeID, would like cboClassNo to default to value stored in tblEmployee, but with option to change to a value stored intblLaborClass
Hope this makes sense.
HRick