#error

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have the following in my report field:

=DSum("trip total for graph","estimates","[program] = [obligation2] and
[start] > [forms]![report selection]![enddatevalue]")

I am getting an #error in the field. The [start] and [enddatevalue] are
dates. I think it has something to do with not translating the dates
properly. Can someone help me resolve this?

Thanks in advance,
geebee
 
Try this:

=DSum("trip total for graph","estimates","[program] = " & [obligation2] &
"and [start] > #" & [forms]![report selection]![enddatevalue] & "#")


Concatenate the values into the string, not the names of the field/control
where the value is found.
 

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

Back
Top