Hi all,
I have a project with a parent form called Projects. Inside projects there are multiple tabs with continuous subforms.
On subform has a field in place to total the other fields.
So I have some code that totals all these fields on a button click.
I then call that from the Projects form.
Now the problem I have is since this is a continuous form, I have to go into each record and activate it for the calc to work from the parent form.
Is there is a way to loop through all the records activate them then run the total?
Thanks
I have a project with a parent form called Projects. Inside projects there are multiple tabs with continuous subforms.
On subform has a field in place to total the other fields.
So I have some code that totals all these fields on a button click.
Code:
Sub Admintotal_Click()
Me.Total = Me.Week1 + Me.Week2 + Me.Week3 + Me.Week4
End Sub
Code:
Private Sub Command57_Click()
Call Me.Admin1.Form.Admintotal_Click
End Sub
Is there is a way to loop through all the records activate them then run the total?
Thanks