Hello and good day.
Why this SUM code gives me only the value in the first field of my table?
PUBLIC xNumPedRec
xNumPedRec=ALLTRIM(THISFORM.numped1.VALUE)
SUM tblorders.totprod ALL for ALLTRIM(tblorders.numped)=xNumPedRec TO xRecalc
THISFORM.text1.VALUE=xRecalc (xRecalc here shows only the value of the first field in my table)
Thank you in advance
Why this SUM code gives me only the value in the first field of my table?
PUBLIC xNumPedRec
xNumPedRec=ALLTRIM(THISFORM.numped1.VALUE)
SUM tblorders.totprod ALL for ALLTRIM(tblorders.numped)=xNumPedRec TO xRecalc
THISFORM.text1.VALUE=xRecalc (xRecalc here shows only the value of the first field in my table)
Thank you in advance