I have a major project underway and have come across an issue that has me stumped. So any help would be gratefully accepted.
I am attempting to create a simple warning system for tasks associated with a project.
Form description
Form1
Combobox (User chooses project)
Refresh Button
Tab Control
Subform - Assigned Date - Time to Complete
Me.Time_to_Complete.Value = DateDiff("d", Me.Assigned_Date, Date)
Please refer to attached DB
Overview of Issue
Calculated fields wont update unless got focus
Description of Issue
As you will notice on the attached DB there is a form that has a subform on a tab control. Within this subform is a field called Time to Complete. The code behind the form directs this field to show the number of days passed from Assigned Date to current date. Then using conditional formatting change colour related to number of days elapsed. The code works well on individual records only, All records associated with a chosen project must update on open.
Required Outcome
How can I get code to run on all records in datasheet view, when form opened?