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.
You did not know that nearly 100 cable and satellite tv installers use our software to manage their device inventory. They never lose track of an expensive device.
Did you know that most template databases often do not do exactly what you need done? We can create a custom template that fits your needs exactly.
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