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

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
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
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,750
Members
448,989
Latest member
mariah3

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
Back
Top