Open Email Using SendObject Access Download
User Inactivity Logout VBA Code
Disable Shift Key Demo
Send Email Microsoft Access Tutorial Download (Advanced)
Programming MS Access Security Alternative
Single User Inventory Calculations Download
How To Perform Multi-User Inventory Calculations
Make Dependent Combo Box Code MS Access Tutorial
Union Query (Advanced) Access Tutorial
How To Fill Fields From Combo Box
Openform Example Download
downloadable Access database example we show you how to setup the docmd.openform method in Access Visual Basic. Additionally we demonstrate
how to set and read the open arguments option of the docmd.openform method.
Are you just starting out on your quest for a database? Need some advice or someone to bounce ideas off of? We are here and will be happy to chat with you on the phone and discuss options to your situation. Visit our contact page and give us a call.
Are you looking for an MS Access template database? We have many for sale in our Access Template and Examples Software section.
The example involves a simple Access inventory database. The form contains a field for the General Contractor (GC). We have added a Double click event to the GC combo box field. If the user double clicks on the GC field then a new form opens displaying the detailed information for the selected general contractor. The VB code also demonstrates how to filter records with the openargs command line options.
Here is a snapshot of the database with the GC details screen opened after double clicking:
Use this link to download the
docmd.openform with openargs
Access database example.
While the openargs method is obviously useful and simple we prefer to use the global variable method to pass parameters to open forms since we use this method to pass parameters to other database objects such as queries. One nice feature of using global variables is that they always work the same way and therefore makes coding consistent and simple once the techniques are memorized. Check out our Access global variables as query parameters example. Note that we have tested our examples in Access 2007 and Access 2010
MS Access 2003
Copyright 2000-2017 Blue Claw Database Design
MS Access 2013, Access 2010 & Microsoft Office 2007