2 Value in Criteria (1 Viewer)

eyeseven

New member
Local time
Today, 02:59
Joined
Aug 6, 2012
Messages
8
Hi.. i'm trying to filter from dsum criteria the two values, here is my code :

Code:
=DSum("Amount","qry_sumawpo","[Status] = 'FBLNG'" OR "[Status] = 'BLLD'")

please help me to correct this code.

I need 2 different values in 1 criteria.
 
Last edited:

pr2-eugin

Super Moderator
Local time
Today, 10:59
Joined
Nov 30, 2011
Messages
8,494
Try this one.
Code:
= Nz(DSum("Amount","qry_sumawpo","[Status] = 'FBLNG' OR [Status] = 'BLLD'"), 0)
 

eyeseven

New member
Local time
Today, 02:59
Joined
Aug 6, 2012
Messages
8
try this one.
Code:
= nz(dsum("amount","qry_sumawpo","[status] = 'fblng' or [status] = 'blld'"), 0)

wow! It works! :)

thanks so much! :)
 

Users who are viewing this thread

Top Bottom