how to sum total two subform to text in main form

SalmanZeiad

Member
Local time
Today, 11:14
Joined
Oct 30, 2017
Messages
112
1597919657866.png
 

Attachments

  • 1597919480974.png
    1597919480974.png
    88.7 KB · Views: 89
Assuming that you have a total on each of two subforms and you want to add these together and show result on the main form.

You the following expression in the text box on the main form. You will need to replace some of the expression with the real names used in your database:

=[NameOfSubForm1].[Form]![NameOfFirstTotalTextbox] + [NameOfSubForm2].[Form]![NameOfSecondTotalTextbox]
 
Assuming that you have a total on each of two subforms and you want to add these together and show result on the main form.

You the following expression in the text box on the main form. You will need to replace some of the expression with the real names used in your database:

=[NameOfSubForm1].[Form]![NameOfFirstTotalTextbox] + [NameOfSubForm2].[Form]![NameOfSecondTotalTextbox]
thank you so much>>>>it`s work
 

Users who are viewing this thread

Back
Top Bottom