Hi guys, i would like to know how to Run a Macro when a certain condition has been met.
I have a table called "tbl_inventory" and a query called "qry_CountofInventory", the latter being a count of how many items (lapptops) are in our inventory. Just like conditional formatting i would like to know how to get the database to run a sendObject macro when the quantity is at a certain level (say "4"). I have already created the sendObject macro which is called "sendmailOUT".
I have a table called "tbl_inventory" and a query called "qry_CountofInventory", the latter being a count of how many items (lapptops) are in our inventory. Just like conditional formatting i would like to know how to get the database to run a sendObject macro when the quantity is at a certain level (say "4"). I have already created the sendObject macro which is called "sendmailOUT".