Dsum with 3 criteria

F

Frank Dulk

How do I make Dsum with 3 criteria and is the 1st criterion numeric and are
the last 2 texts?
 
J

John Vinson

How do I make Dsum with 3 criteria and is the 1st criterion numeric and are
the last 2 texts?

DSum("fieldname", "domainname", "NumberField = " & iVal & " AND
[Textfield1] = '" & str1 & "' AND [Textfield2] = '" & str2 & "'")
 
F

Frank Dulk

ok.

How do I do go look for a value that this inside of a query?

John Vinson said:
How do I make Dsum with 3 criteria and is the 1st criterion numeric and are
the last 2 texts?

DSum("fieldname", "domainname", "NumberField = " & iVal & " AND
[Textfield1] = '" & str1 & "' AND [Textfield2] = '" & str2 & "'")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top