J
Jai
I am currently working on designing a database to capture data such as the
labour costing, activites carried out and the machinery used for the
particular shift.
I have the following table and not sure where to go from here.
* denotes primary key
tbl employee
*EmpID as PK
EmpName
EmpNumber
Classification
tblTeamDetails
*EmpId as PK
*TeamName as PK
tblTeam
*TeamName as PK
TeamLeadername
tbl Labourcosting
*EmpID
*ShiftID
and Employee name and Number should be shown in this table
tblShift
*ShiftID
ShiftDate
Start From and To
Locations From and To
tblPlant
*ShiftID
*ShiftDate
Machineused
Hoursbooked
tblActivity
*shiftID
*Record number
timefrom and To
Locations
Delays etc..
In the form page I want to enter a date how can I tell it to update all the
other related field in a different table (say shift,acticvities ect).
In the activity table more than often there are many activites and needs to
be logged is the record number is sufficient to identify the activities
record. I at a later I want to query the activity by date can this be done
using the record number.
labour costing, activites carried out and the machinery used for the
particular shift.
I have the following table and not sure where to go from here.
* denotes primary key
tbl employee
*EmpID as PK
EmpName
EmpNumber
Classification
tblTeamDetails
*EmpId as PK
*TeamName as PK
tblTeam
*TeamName as PK
TeamLeadername
tbl Labourcosting
*EmpID
*ShiftID
and Employee name and Number should be shown in this table
tblShift
*ShiftID
ShiftDate
Start From and To
Locations From and To
tblPlant
*ShiftID
*ShiftDate
Machineused
Hoursbooked
tblActivity
*shiftID
*Record number
timefrom and To
Locations
Delays etc..
In the form page I want to enter a date how can I tell it to update all the
other related field in a different table (say shift,acticvities ect).
In the activity table more than often there are many activites and needs to
be logged is the record number is sufficient to identify the activities
record. I at a later I want to query the activity by date can this be done
using the record number.