Microsoft
Software
Hardware
Network
Question : Summing amount using a aggregate function in a query
I am trying to sum a column and enter the result in a textbox in the main form. My design has a main form with several subforms. The subform is used to list the details of items.
I have two querries, one to list the details and another to arrive at the total usiing the SUM aggregate and group by. My problem is that I don't know how to post the sum into the main form. At this time I am getting a #NAME error in the total textbox.
Answer : Summing amount using a aggregate function in a query
If your data are source of your form (subform), you can add field to the form (or subform) footer with value:
=sum([Mydata])
Random Solutions
Exchange 2007 '452 Too many recipients received this hour'
how to import POP settings from .IAF file? Outlook 2003 from Outlook 2002
how to reset password for Sharepoint 3.0 Central Administration website
Migration from Windows 2000 AD to 2003
How do I add a comma to my string?
on an console app, once i display a question before a console.readline, how to add a default value?
Calculate Running Total in a New Field
Editable Gridview
Web service help
add names to 2nd combo box on form