I have an Access 2003 database that I'm building. In part of this DB I am tracking repair parts being ordered and used. I have a field called ReorderLevel that tells me when a parts on hand quantity drops to this level or below it needs to be reordered. I then have a UnitsOnHand unbound text field that is pulling the number of units on hand from an unbound text field also called UnitsOnHand in a subform (TblPartsTransa ction subform). The UnitsOnHand text field in the subform is the field that calculates the amount of units on hand. What I want to do is have a message box pop up if the units on hand amount drops to or below the reorder level amount. I am not exactly sure where to start for this one. I'm a little confused on the code as I'm not very proficient with that. So far this is what I have for the message box, I believe I have this correct.
Also once I have the code put together I'm not sure where to put it?
Any help would be greatly appreciated.
Code:
MsgBox("This part needs to be reordered. Please do so as soon as possible.",576,"Reorder Parts")<>1
Any help would be greatly appreciated.
Comment