T
thepnut
Hello all,
Ok I'm having a mental block. I'm designing a rostering database, the table
Work has these fields
ID, Name, WeekComencing, WorkDay, StartTime, EndTime
I have a form an un-bound form that has the days of the week across the top,
a field for a name and then start / end times. I then have a little coding
that transfers that data into the table.
What I want to do is then show that data in a normal roster like view;
Name Monday Tuseday Wednesday ....
Name Start End Start End Start End
I'm sure you get the idea. Now to my problem Without adding to the table
fields for each day of the week (start / end / annual leave) I can not for
the life of me get one line per person with data corisponding to the days of
the week.
I have tried having the "Name" field be a Query (grouped) and then having
each field as a Dlookup("[Start]", "work", "[workday]=" & (work day
corrisponding to the day) AND "Name" =" & (Name Field) ) but this just picked
up the first entry in the table.
Any ideas??
Pnut
Ok I'm having a mental block. I'm designing a rostering database, the table
Work has these fields
ID, Name, WeekComencing, WorkDay, StartTime, EndTime
I have a form an un-bound form that has the days of the week across the top,
a field for a name and then start / end times. I then have a little coding
that transfers that data into the table.
What I want to do is then show that data in a normal roster like view;
Name Monday Tuseday Wednesday ....
Name Start End Start End Start End
I'm sure you get the idea. Now to my problem Without adding to the table
fields for each day of the week (start / end / annual leave) I can not for
the life of me get one line per person with data corisponding to the days of
the week.
I have tried having the "Name" field be a Query (grouped) and then having
each field as a Dlookup("[Start]", "work", "[workday]=" & (work day
corrisponding to the day) AND "Name" =" & (Name Field) ) but this just picked
up the first entry in the table.
Any ideas??
Pnut