I have a form, frmSubmitTime.
It has a subform, frmTimeSheetReview which is a Datasheet.
In subTimeReview are columbs, Name, Site, WeekEndDate, Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday
I want to put a field on frmSubmitTime that takes the values of Sunday, Monday-Saturday and adds them up. The datasheet contains multiple rows and only shows the WeekEndDate that was established in a previous form, that variable was passed to this form upon open.
I had originally thought, if I put the "default value" or the "control source" to the following, it would work.
Alas, it did not.
What am I doing wrong? Is it even possible? I'm rusty with Access, and having to relearn waay to much in a short time.
It has a subform, frmTimeSheetReview which is a Datasheet.
In subTimeReview are columbs, Name, Site, WeekEndDate, Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday
I want to put a field on frmSubmitTime that takes the values of Sunday, Monday-Saturday and adds them up. The datasheet contains multiple rows and only shows the WeekEndDate that was established in a previous form, that variable was passed to this form upon open.
I had originally thought, if I put the "default value" or the "control source" to the following, it would work.
Code:
=[frmTimeSheetReview].[Form]![Sunday]+[frmTimeSheetReview].[Form]![Monday]+[frmTimeSheetReview].[Form]![Tuesday]+[frmTimeSheetReview].[Form]![Wednesday]+[frmTimeSheetReview].[Form]![Thursday]+[frmTimeSheetReview].[Form]![Friday]+[frmTimeSheetReview].[Form]![Saturday]
Alas, it did not.
What am I doing wrong? Is it even possible? I'm rusty with Access, and having to relearn waay to much in a short time.