Select From Where clause

Raimond

New member
Local time
Today, 07:41
Joined
Mar 9, 2009
Messages
4
I am having trouble with this clause Help Please.....:cool:

Here is what I have that is not working.

=Select sum ([amount of SS] From main Where [type of SS] = "Bus Pass")

Thanks in advance
 
Try

=DSum("[amount of SS]", "main", "[type of SS] = 'Bus Pass'")
 
Thanks for the quick response.
That worked to return a value, however, it does not follow my date criteria..

It returned the total amount of "bus pass" for the entire table. I need to be able to select a date range. I am using access 2003 and do not see DSUM in my referance book.
 
I guess I should have added that I would have the user entering the dates into a form, and the DSum() would look there for the values.
 

Users who are viewing this thread

Back
Top Bottom