Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Queries / July 2006

Tip: Looking for answers? Try searching our database.

Need the following Running total to group by [Control]

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Greg - 29 Jul 2006 00:55 GMT
I have the following running total working in a query, only problem is I
need it to total only the group from the Control field selection.

RunTotal: Format(DSum("Minutes","subtable","[Control]<=" & [ContAlias] & "
"),"0000.0",0)
Michel Walsh - 30 Jul 2006 14:23 GMT
Hi,

RunTotal: Format(DSum("Minutes","subtable","Selection=
Forms!YourFormNameHere!Selection  AND  [Control]<=" & [ContAlias] & "
"),"0000.0",0)

where I assumed your impled control (in the form) and field (in the table)
are both called  Selection.

Hoping it may help,
Vanderghast, Access MVP

>I have the following running total working in a query, only problem is I
>need it to total only the group from the Control field selection.
>
> RunTotal: Format(DSum("Minutes","subtable","[Control]<=" & [ContAlias] & "
> "),"0000.0",0)
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.