
Originally Posted by
gw2013
Thanks.
My original question was how users can input their hours on particular Tasks which are related to a Project.
(but by describing Tasks as 'Stages', I completely bamboozled you so apologies for that).
So, now that we're talking Tasks, my original question (changed to 'Tasks' below) still stands as described in post #7:
So the idea is this will be a form filled out at the end of a day.
1. User opens form,
2. Selects their name,
3. In the subform(?), they need to Select the project, then select an individual task on that project enter their hours.
No, in posts 2 and 8 (I believe) we said to put the Name and Project combos in the header. Now Task also - unless you want a datasheet of all tasks for selected project for a day.
Each entry will default to today's date.
4. Ideally, as they fill out their hours, there would be a field at the bottom updating to show total hours entered for the day.
I don't think a totals control will work in a subform datasheet even if the subform has a footer because the datasheet row count is volatile and the subform control height is fixed. As well, the footer is not part of the data set, so I would not expect it to show. In the main form footer, you could try a control with =DSum("NoofHours","ProjectHours","ProjectID= " & [Me].[cmbProject]) as its source. Dsum should not pose a noticeable lag unless you end up with mega records.
So I guess it's like a timesheet of sorts?
I would agree.
My original sample database was pretty much a simpler version of the spec you've provided.
So my question is still as outlined as above.