Another DSum Problem

  • Thread starter Thread starter swichman
  • Start date Start date
S

swichman

I hate the syntax requirements on these stupid things...
Can anybody tell me what is wrong with the following:
=DSum("[QuantityRevision]*[UP]","Quantity Adjustments","[SCO] = -1 And
[PCOFinal] = 0 And [Group1D] Is Null " And [ContractID]=" &
[ContractID] And [ItemNum] = '" & [ItemNum] & "'")
It is not working and it has somethng to do with " And [ContractID] = "
& [ContractID]
ContractID is a Long Integer.
Thanks for any help.
 

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