Hi, Here is my problem:
I have a main form with sub forms. On the sub form I have a text field that equals =Sum(ProjectHours). I want to take that value and assign it to a text field on the main form.
This is the code that was working at home but at work it does not.
Private Sub Form_Current()
Me.AproxProjectHours = Me.TaskListTable_subform.Controls("text15")
End Sub
....my other programs are better
I have a main form with sub forms. On the sub form I have a text field that equals =Sum(ProjectHours). I want to take that value and assign it to a text field on the main form.
This is the code that was working at home but at work it does not.
Private Sub Form_Current()
Me.AproxProjectHours = Me.TaskListTable_subform.Controls("text15")
End Sub
....my other programs are better