how to bring a subtotal from a subform to a main from?

snoopyhr

Active Member
Joined
Aug 12, 2002
Messages
395
I Have this form the has product info, in the subform I am pulling info for Qty Ordered and qty receved against the PO# , the problem I have is I want to have the subtotal of qty received shown in the main form.

that is if the subform has 3 receivers for example 100,50, and 60 , then the main form displays the total of that which is 210.

the formula I have in the footer of the subform called po Subform
The text box captioned as Receipts
and control source is sum([qty shipped])

The main form is called po

the formula I have there is :
Name: PO receipt
Control Source is:=[po subfrom].[from]![poSubtotal]
and I het error
Any help greatly appreciated , and thank you all in advance.
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

Andrew Fergus

MrExcel MVP
Joined
Sep 9, 2004
Messages
5,452
Office Version
  1. 365
  2. 2021
  3. 2016
Platform
  1. Windows
Hi

Usually something like this will work:

=SubFormName!SubFormControl

So in your situation, it should look something like this:
=[po subfrom]![poSubtotal]

If it isn't working then check you have the correct subform name and the correct name for the subtotal field.

HTH, Andrew
 

Forum statistics

Threads
1,181,658
Messages
5,931,269
Members
436,785
Latest member
KingGideon

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top