Advertisement

08.15.2008 at 11:41AM PDT, ID: 23652248
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.7

Cannot do a subtotal within a subform

Asked by lin100 in Access Forms

Tags: , , , ,

Access 2003

In the Northwind.mdb database, there is an "Orders" form, and this form has a "Orders Subform"
within it. In the "Orders Subform", there is a field named "OrderSubtotal", and this field sum up
all of the value in the field "ExtendedPrice". This works.

Form Name: Orders
Sub Form Name: Orders Subform
Field Name: ExtendedPrice
The location of field is in the detail section of Orders Subform

Field Name: OrderSubtotal
Control Source: =Sum([ExtendedPrice])
The location of field is in the form footer of Orders Subform

////////////////////////////////////////
I have a form with a subform, just like in the above configuration, but the subform recordsource
is not a select query but a union query. The subform also has a sum field, but it gets an error
when I run the form.

Main Form Name : Search
Field Name: Total_Payout_In_Main_Form
Control Source =SubForm_Search_3.Form!Total_Payout

SubForm Name: SubForm_Search_3
RecordSource: Q_LIST_ALL_METRIC_NAME_FOR_AN_EMPLOYEE_H1_H2_FY_PAYOUT (This is a union query)
In the Detail section of the form there is a field name Payout_Value

In the Form Footer section of the form there is a field name Total_Payout
Control Source=Sum([Payout_Value])

The text box Payout_Value that reside in the SubForm_Search_3 is a numeric field

In summary there are three fields
1) Payout_Value --> reside in the Detail Section of the SubForm_Search_3
2) Total_Payout --> reside in the Form Footer Section of the SubForm_Search_3
3) Total_Payout_In_Main_Form --> reside in the Detail Section of the form Search

When the form Search is opened, it suppose to show the value of the field Total_Payout_In_Main_Form,
I have no error message.
In the text box Total_Payout_In_Main_Form, there is a text that read "#Error". There is no number in this textbox.
In the text box Total_Payout in the subform footer there is a text that said  "#Error".
This is the same technique that was use in the Order form of the Northwind.mdb database. Start Free Trial
 
Loading Advertisement...
 
[+][-]08.17.2008 at 11:38PM PDT, ID: 22249766

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.18.2008 at 08:10AM PDT, ID: 22252589

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.18.2008 at 04:40PM PDT, ID: 22256271

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.19.2008 at 11:43AM PDT, ID: 22262555

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.19.2008 at 11:44AM PDT, ID: 22262564

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.20.2008 at 12:32AM PDT, ID: 22266901

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.20.2008 at 06:43AM PDT, ID: 22269309

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.20.2008 at 06:54AM PDT, ID: 22269418

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.07.2008 at 07:54AM PDT, ID: 22659970

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.07.2008 at 08:43AM PDT, ID: 22660497

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.07.2008 at 09:14AM PDT, ID: 22660847

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.08.2008 at 11:49PM PDT, ID: 22676139

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Access Forms
Tags: Microsoft, Access 2003, SP3, Windows XP, Access 2003
Sign Up Now!
Solution Provided By: peter57r
Participating Experts: 2
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628