I have a main form which employees use to report their bi-weekly time. The main form is automatically assigned a [RecordID] and the employee must select their [Profile] from a combo box.
This main form contains (2) sub-forms. Both sub-forms use the same data source table.
The first sub-form is visible in the body of the main form and linked by the [RecordID] and employee [Profile]. The employee enters each date worked and hours for the reporting period.
The second sub-form is hidden and linked to the main form by the employee [Profile], basically keeping a running ledger of all the dates and hours reported by the employee.
What I would like to do is have a message box appear if the employee mistakenly enters date that has already been reported.
Any ideas how I can achieve this?
Thank you in advance.
This main form contains (2) sub-forms. Both sub-forms use the same data source table.
The first sub-form is visible in the body of the main form and linked by the [RecordID] and employee [Profile]. The employee enters each date worked and hours for the reporting period.
The second sub-form is hidden and linked to the main form by the employee [Profile], basically keeping a running ledger of all the dates and hours reported by the employee.
What I would like to do is have a message box appear if the employee mistakenly enters date that has already been reported.
Any ideas how I can achieve this?
Thank you in advance.