• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 347
  • Last Modified:

How to add a muti criterial to a dsum

I have the following solution working in a report:

=[CountOfFrameModel]/DCount("FrameModel","tmain","frameLine=" & "'" & [FrameLine] & "'")

Needed to add the following criterial to the Dcount, tMain.FrameOWF  =  False and tMain.Status <> Cancelled.

Can this be done? I think it can but I am not sure about qutoes.
1 Solution
Rey Obrero (Capricorn1)Commented:
try this

=[CountOfFrameModel]/DCount("FrameModel","tmain","frameLine='" & [FrameLine] & "' and tMain.FrameOWF = False and tMain.Status <> 'Cancelled'")
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now