SteveL13
asked on
DSum question
Can someone tell me what is wrong with this?
me.txtPrint =DSum("[Qty]","tblSalesOrd Tranx","[D ateEntered ] between me.txtStart and me.txtEnd)
--Steve
me.txtPrint =DSum("[Qty]","tblSalesOrd
--Steve
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
<No Points wanted>
Does this work?
=DSum("[Qty]","tblSalesOrd Tranx")
if not STOP and fix it...then proceed.
Does this work:
DSum("[Qty]","tblSalesOrdT ranx","[Da teEntered] =" & me.txtStart )
If not then STOP and fix it...then proceed.
Does this work:
DSum("[Qty]","tblSalesOrdT ranx","[Da teEntered] =" & 3/15/2012 )
..ect
In other words your formula should not have gotten that complex ("Between") before you discovered something was wrong...
Most syntax errors are easy to spot (as your was), ...However, it is interesting that you did not post what *You* tried first to resolve this...
("Experts, I tried this, this and that, and some other thing, and none of them worked"
;-)
Sound fair?
JeffCoachman
Does this work?
=DSum("[Qty]","tblSalesOrd
if not STOP and fix it...then proceed.
Does this work:
DSum("[Qty]","tblSalesOrdT
If not then STOP and fix it...then proceed.
Does this work:
DSum("[Qty]","tblSalesOrdT
..ect
In other words your formula should not have gotten that complex ("Between") before you discovered something was wrong...
Most syntax errors are easy to spot (as your was), ...However, it is interesting that you did not post what *You* tried first to resolve this...
("Experts, I tried this, this and that, and some other thing, and none of them worked"
;-)
Sound fair?
JeffCoachman
Open in new window