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
Need to optimize data cleanup routine in VB
V-lookup
Word 2010 - Changing external linked images into embedded images
Cisco VLAN
differences between windows server 2003 and windows server 2003 r2
How do I write a batch that will open an Explorer window to a particular folder?
mssql: I would like to have this where clause modified to search for all records or if beginDate & endDate specfified then search between dates
Move a VM
Best method for automated use of Defrag, chkdsk, Disk cleanup, etc.
Dropdown with links