Avatar of samuel maia
samuel maia asked on

Dsum Statement

Hello :)

I'm having some difficulties in doing this statement .

Can anyone help me out? It's the first time I'm using access .

= DSum("[Quantity]", "[ MSP]", "[ ProductCode] LIKE 'EVWP*' AND "[Excluded]"=”FALSE”)

Cheers
Microsoft AccessMicrosoft SQL Server

Avatar of undefined
Last Comment
John Tsioumpris

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
John Tsioumpris

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
samuel maia

Hi John :) Thanks very much for your help. Has a told before it's the first time I'm using Access, so I don't know if I'm doing things properly.
Hi John :) Thanks very much for your help. Has a told before it's the first time I'm using Access, so I don't know if I'm doing things properly? My aim is to put on the top of the report the sum of all the product codes that start with EVWP and are not excluded.

Am I doing something wrong?

Once again, thanks very much :D
SOLUTION
John Tsioumpris

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
ASKER
samuel maia

I noted that mistake and I amended it. However, it didn't work. But I'm quite sure that's something I did wrong. I'll endeavor to find out whats wrong.

Thanks very much for your help guys.

:D
ASKER
samuel maia

Statement and Data
Hello again :)

I've been trying to figure out what I've done wrong. However, I'm having some difficulties.
Here it's a part of my data set and both argument for the functions.

For instance, in the Dcount, everything it's easy peasy. But when getting down to the nitty-gritty, the Dsum, something goes wrong.
In my data set, in the exclusion column, I've tried both "False" and "No", but didn't work.

Any idea about whats wrong?

Cheers
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
ASKER
samuel maia

sa.JPG
I think its something about the way I was writing the argument. Because now I did the way you can see in the picture and its working (but just for one criteria :(   )
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.