Control

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello I'm greating an inventory database and I have a problem with what I
have sold exceeding my total inventory. How can I stop the sold items from
exceeding the inventory?
 
Hello I'm greating an inventory database and I have a problem with what I
have sold exceeding my total inventory. How can I stop the sold items from
exceeding the inventory?

Probably by putting VBA code on the BeforeUpdate of the form whereupon
you enter sales; this should check the amount sold against the
inventory; post a message to the user using MsgBox and set the Cancel
parameter of the BeforeUpdate() call to True.

John W. Vinson[MVP]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top