Hi,
I'm trying to put together a database for a small recruitment agency who wish to track customer orders. A typical order from a client would be from a theatre, for 20 Stewards & 4 Security Guards, but each each line item (i.e. 20 stewards) they require the facility to associate candidates from a separate candidate pool table. They need to be able to view order history and a list of people who have worked under each line item, but also to be able to report for each candidate to view a history of each shift they have undertaken, like a work history.
the Tables is have are as follows;
tblClients
ClientID
Client Name
Add1
Add2
City
Postcode
Tel
Contact Person
TblOrder
OrderID
ClientID
Site/Booking NameSite Address
tbl_OrderLineItems
OrderLineID
OrderID
Qty
Product (Lookup - tbl_Products i.e stewards, Guards, Marshalls etc)
Date
Start Time
Finish Time
Hours
Charge Rate
tblProducts
Product Name
tbl_Shifts
ShiftID
OrderLineID
Staff Name (Lookup tbl_candidates)
tbl_Candidates
CandidateID
Forename
Surname
DOB
Gender
Mob No.
Tel. No.
Add1
Add2
City
Postcode
Qualifications (Lookup)
tbl_Qualifications
Qualification Name
i'm struggling to work out the relationships between tbl_Shifts & tbl_candidates to enable me to report a history of shifts undertaken by each candidate. i've set the tbl_shifts to lookup the candidates table which will populate the field with a candidate, but then i cannot go view that shift under the candidate records.
Any help with the structure would be of great help
Thanks