SteveL13
asked on
DSum syntax problem
I'm trying to do a DSum using this control source but it isn't working. What would the correct syntax be?
=DSum("[ReadyQty]","tblRea dy","[Text MNumber] = " & [Forms]![frmPlanted]![cboT extMnumber .Column(0) ])
=DSum("[ReadyQty]","tblRea
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
=DSum("ReadyQty","tblReady","TextMNumber = " & Forms!frmPlanted!cboTextMnumber.Column(0))
You don't need all the square brackets, but your syntax actually looked good. Double check field names
-->>> cboTextMnumber.Column(0)]) is a text field.
Whoops - Guy is correct. You need quotes.
But his Char(34) should be Chr(34) -- no points please.
Whoops - Guy is correct. You need quotes.
But his Char(34) should be Chr(34) -- no points please.
ASKER
cboTextMnumber.Column(0)])