var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: How to implement a notification message?
I have a basic inventory database that tracks equipment spare parts.
My query displays the (part#) the (in stock) and (minimum stock) values. I setup the query to create a [status] field with the (stock)-(minimum stock) expression with a search criteral of >=0.
How can I have my database display a message when the value is less than or equal to 0 to notify the user that the minimum value has been reached?
Part# In Stock Min Status
01-001 1 1 0
iif([In Stock] - [Min] <=0, "MINIMUM REACHED", "MINIMUM NOT REACHED")
how do you want to nitify the user? A pop up while moving from record to record? or an email with a report of all parts below minimm? or something else?
u can always do msgbox()
teddy , is that iif or if ??
iif = Immediate If for use in on-the-fly comparisons
if = begining of control statement in vba.