[AccessD] Reorder Level

Hollis, Virginia hollisvj at pgdp.usec.com
Wed Nov 11 13:45:37 CST 2009


I placed this in the Control Source of the text box - txtReorderAmt. I
get an error - "the expression in the function contains the wrong number
of arguments."

 

 

*************

Maybe I'm missing the point, but I believe it should be this:

 

=IIf([txtOnHand]+[txtOnOrder])<[ReorderLevel],[ReorderLevel]-([txtOnHand
])+[txtOnOrder],0)

 

=(496 + 500) < 18 ,  18 - (496 + 500) , 0

 

  so you'd get 0 in this case.

 




More information about the AccessD mailing list