Your example of:
=DSum("[Extd Cost]","[Department Name]","[Unit Cost]= '<95'")
means:
Sum the [Extd Cost] field,
from the [Department Name] table,
where the [Unit Cost] field is less than the text "95".
Unless your report has a field named [Extd Cost] from two or more tables,
there is no need to refer to the table name.
If [Department Name] is actually a field name, perhaps you would like to
explain what you are seeking to achieve.
--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users -http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
If [Unit Cost] and [Extd Cost] are fields in the report's source query,
you
could try this in the Control Source of a text box in the group footer or
report footer:
=Sum(IIf([Unit Cost] < $95, [Extd Cost], 0))
--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users -http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
news
[email protected]...
No such luck. The syntax is off. In your suggestion there is no
mention of the Dept Name, is that needed to complete the expression?
I have since created a seperate query with <$95 Unit Costs, and now
working on getting that to total.
Any suggestions?- Hide quoted text -
- Show quoted text -