Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Macros / August 2004

Tip: Looking for answers? Try searching our database.

MsgBox

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kathy - 11 Aug 2004 16:46 GMT
Hi, I am building an Inventory DB. On the subform I want to
> have a message pop-up when the QtyOnHand drops below 5
> pieces. Whats the best approach for doing this. Any help
> is very much appreciated.
> Regards,
> Kathy
Ki Yi [MS] - 13 Aug 2004 19:20 GMT
Hello,

You try adding code in Oncurrent and Onopen event of a form that will check
that particular field and
if it's < 5 and display a message box.

For example,

If me.field1 < 5 then
msgbox "item low"
End if

Hope this helps!

Ki
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.