Calculated Controls in Forms

J

J.Jackson

Hi!
I need to create a sum from a column called "Total Cost"
in a subform (Workorder Parts) onto the main form
(Workorder). What calculated control do I use??
 
G

Graham Mandeno

Create a textbox in the header or footer of your subform:
Name: txtTotalCost
ControlSource: =Sum([Name of Cost field])
Visible: No

Now create another textbox on your main form:
ControlSource: =[Name of subform control].[Form]!txtTotalCost
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top