J
James
I have looked at Duane's reports and many others, but know one has anything
like this. If it has anything to do with crosstab queries I will need help
setting it up (great detail is appreciated). I would like to make an employee
schedule as follows:
EmployeeName DateSun DateMon ... DateSat
John Smith 11:00 9:00 18:00
Host Bus Bus
15:00
Bus
Sue Johnson 9:00 13:00 9:00
The dates at the top are from a table with dates for the next 40 yrs. (I
don't know if that is the best thing to do, but you would only have to have
the dates list once and not in multiple tables.) Each employee can work more
than one time per day and they work different positions, so I need the
position listed under their start time. I know how to group them by empoyee
name and date, and then have the posistion and start time in the details
section. My problem is I don't know how show the next six dates in columns
next to the first date (to be displayed as shown above.)
tblDates
DateID (PK)
RecordDate
tblSchedule
ScheduleID (PK)
EmployeeID (FK)
DateID(FK)
PositionID(FK)
StartTime
tblEmployee
EmployeeID(PK)
FirstName
...
tblPosition
PositionID(PK)
PositionName
Thanks
like this. If it has anything to do with crosstab queries I will need help
setting it up (great detail is appreciated). I would like to make an employee
schedule as follows:
EmployeeName DateSun DateMon ... DateSat
John Smith 11:00 9:00 18:00
Host Bus Bus
15:00
Bus
Sue Johnson 9:00 13:00 9:00
The dates at the top are from a table with dates for the next 40 yrs. (I
don't know if that is the best thing to do, but you would only have to have
the dates list once and not in multiple tables.) Each employee can work more
than one time per day and they work different positions, so I need the
position listed under their start time. I know how to group them by empoyee
name and date, and then have the posistion and start time in the details
section. My problem is I don't know how show the next six dates in columns
next to the first date (to be displayed as shown above.)
tblDates
DateID (PK)
RecordDate
tblSchedule
ScheduleID (PK)
EmployeeID (FK)
DateID(FK)
PositionID(FK)
StartTime
tblEmployee
EmployeeID(PK)
FirstName
...
tblPosition
PositionID(PK)
PositionName
Thanks