SoccerLax149
Technical User
I have 4 tables that I need to join in a query. The tables have data like this:
TimeClock -> ClockID (PK), SiteID, WorkerID, TypeID, Start, Finish
Sites -> SiteID (PK), Name
Worker -> WorkerID (PK), Name
WorkType -> TypeID (PK), Type
I need a query that will take all the data from the TimeClock table, and where it says the SiteID, I need it to read that ID from Sites.SiteID and output the Sites.Name field. I need the same thing for the TimeClock.WorkerID field with the Worker.WorkerID field and the TimeClock.TypeID with the WorkType.TypeID field.
I've set up the correct relationships in Access, but when I try to query them, it tells me I have a type mismatch. Please tell me what I need to do to get this to work.
Thanks a lot
Scott Menzer
TimeClock -> ClockID (PK), SiteID, WorkerID, TypeID, Start, Finish
Sites -> SiteID (PK), Name
Worker -> WorkerID (PK), Name
WorkType -> TypeID (PK), Type
I need a query that will take all the data from the TimeClock table, and where it says the SiteID, I need it to read that ID from Sites.SiteID and output the Sites.Name field. I need the same thing for the TimeClock.WorkerID field with the Worker.WorkerID field and the TimeClock.TypeID with the WorkType.TypeID field.
I've set up the correct relationships in Access, but when I try to query them, it tells me I have a type mismatch. Please tell me what I need to do to get this to work.
Thanks a lot
Scott Menzer