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 / Forms / October 2005

Tip: Looking for answers? Try searching our database.

DSUM Syntax

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JethroUK - 22 Oct 2005 12:50 GMT
Can someone check my syntax please:

textbox control source: =DSum("[Session]","Clients","[session]='AM'")

Tablename 'Clients'
Field 'Session'
Where session = "AM"
Rick Brandt - 22 Oct 2005 13:14 GMT
> Can someone check my syntax please:
>
[quoted text clipped - 3 lines]
> Field 'Session'
> Where session = "AM"

The syntax is fine, but what does the sum of "AM" look like?  You can't add
words.  I suspect that one of those field names was intended to be something
else.

Signature

I don't check the Email account attached
to this message.     Send instead to...
RBrandt    at       Hunter      dot      com

JethroUK - 22 Oct 2005 14:22 GMT
>> Can someone check my syntax please:
>>
[quoted text clipped - 7 lines]
> add words.  I suspect that one of those field names was intended to be
> something else.

I thought i could include criteria - in this case only count session where
they = "AM"

Think i've answered my own question here - i shouldn't be summing at all - i
should be counting :o)
Jeff Boyce - 22 Oct 2005 13:30 GMT
Why?  What (?error) message are you getting?

Signature

Regards

Jeff Boyce
<Office/Access MVP>

> Can someone check my syntax please:
>
[quoted text clipped - 3 lines]
> Field 'Session'
> Where session = "AM"
 
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.