Syntax

mlyles

Registered User.
Local time
Yesterday, 16:30
Joined
Nov 28, 2004
Messages
26
I am trying to get the sum of the government workyears with the appropriation id with any letters with GE on the current form that is showing. Here is what I have so far but everytime I try to add something it gives me #Name? :
=DSum(" [Government Workyears] ","tbl-costs","[Task ID] = [Forms]![frm-Tasks-Summary]![Task ID] And [Appropriation ID] Like "*GE*" ")
 
I don't believe there is an extra " .
 
okie dokie then... :)

What about:

=DSum(" [Government Workyears] ","tbl-costs","[Task ID] = [Forms]![frm-Tasks-Summary]![Task ID] And [Appropriation ID] Like '*GE*'")
 

Users who are viewing this thread

Back
Top Bottom