Ascentient
IS-IT--Management
- Nov 4, 2002
- 267
I am have problems with the (((tblBMtk.[MATERIAL-CODE-1])=[forms]![frmReOrderLevels]![cboMaterialCode])) AND ((tblBMtk.[ORDER-DATE]) Between DateAdd(""yyyy"",-1,Now()) And Now())))
of the code. Can anyone help me sort this mess out?
I need the contents of a combo box to equal the field [MATERIAL-CODE-1], but it the product has to have been sold in the last year.
Thanks in advance.
Ascent
of the code. Can anyone help me sort this mess out?
I need the contents of a combo box to equal the field [MATERIAL-CODE-1], but it the product has to have been sold in the last year.
Code:
DSum("[QTY-SHIP-1]", "tblBMtk", (((tblBMtk.[MATERIAL-CODE-1])=[forms]![frmReOrderLevels]![cboMaterialCode])) AND ((tblBMtk.[ORDER-DATE]) Between DateAdd(""yyyy"",-1,Now()) And Now())))
Thanks in advance.
Ascent