By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,135 Members | 1,766 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,135 IT Pros & Developers. It's quick & easy.

Sum a Subform

P: 20
Hi All,

I have a subform attached to a main form in which both forms are linked through a Project ID field. When I change the Project ID field on the main form, only the records associated with the Project ID are shown on the subform.

I would like to sum a field in the subform and display that sum on the main form (perhaps in the footer). However, I want the sum of the subform fields to be only for the Project ID field shown.

Any ideas?
Dec 22 '06 #1
Share this Question
Share on Google+
2 Replies


MMcCarthy
Expert Mod 10K+
P: 14,534
Hi All,

I have a subform attached to a main form in which both forms are linked through a Project ID field. When I change the Project ID field on the main form, only the records associated with the Project ID are shown on the subform.

I would like to sum a field in the subform and display that sum on the main form (perhaps in the footer). However, I want the sum of the subform fields to be only for the Project ID field shown.

Any ideas?
Can you post a reply to this thread on Wednesday/Thursday to bump it up the list. It may not get much attention over Christmas.

Happy Holidays.

Mary
Dec 25 '06 #2

P: 20
Hi All,

I just figured out the code and posted my solution in a similar discussion that had more details/examples etc. The discussion thread is: Getting the sum from a subform. Hope this helps!
Dec 26 '06 #3

Post your reply

Sign in to post your reply or Sign up for a free account.