
MS Access As A Dev Tool
Access continues to be a highly efficient tool for business database development.
The Best Microsoft Access Database Solutions owner, consultant, and principal programmer is Alison Balter - a recognized expert Microsoft Access consultant. Alison is the author of 15 Microsoft Access training books and videos. She is a frequent guest speaker at MS Access conferences and has developed hundreds of applications for businesses of all types.
We know your business data is important; we listen to your concerns, ask questions, and gather information from all stake holders. We discuss your needs and requirements for your database. We find out what you want, why you need various features so we can obtain as much information as possible. Once we have the information we need, we work with you to design the proper database architecture, plus the dashboards, the questions (queries), forms, and reports you need for an excellent database system.
We also create websites designed for speed to display your data accurately, using ASP.NET technology. Fast, secure, and robust, our ASP.NET web sites and web applications give you true business tool for finding and displaying information dynamically on the web.
Access continues to be a highly efficient tool for business database development.
How to create a Microsoft Access application with some unique tips and tricks.
Your Access developer near me has some great info for you about using Access efficiently.
Call MS Access Solutions at (323) 285-0939 For Complimentary Consultation
The material below originally appeared in Alison Balter's book Mastering Microsoft Office Access 2007 Development. Reprinted here by author's permission. There may be references to "Figures" or "Chapters"that are not reprintable and are not used on this page.
Most macro commands can be performed in VBA code by using the DoCmd object. The macro action becomes a method of the DoCmd object, and the arguments associated with each macro action become the arguments of the method. For example, the following method of the DoCmd object is used to open a form: DoCmd.OpenForm "frmClients", acNormal, "", "[tblClients]![IntroDate]>Date()-30", _ acEdit, acNormal
The OpenForm method of the DoCmd object that opens the form appears as the first argument to the method. The second argument indicates the view in which the form is opened. The third and fourth arguments specify a filter and Where condition, respectively. The fifth argument of the OpenForm method specifies the Data mode for the form (Add, Edit, or Read Only). The sixth argument indicates the Window mode (Normal, Hidden, Minimized, or Dialog).
Notice the intrinsic constants used for the OpenForm arguments; they help make the code more readable. You can find them in the Help for each DoCmd method.
In Chapter 10, "Advanced Form Techniques," you will learn how to add a switchboard to your application. For now, you'll build an AutoExec macro that acts as the launching point for your application. The macro will start the application by hiding the Navigation Pane, displaying a message to the user, and opening the frmClients form.
Build the macro shown in Figure 7.28. Start by opening a new macro in Design view. Set the first action of the macro to RunCommand and then set the DatabaseCommand argument to WindowHide. This will hide the Navigation Pane when it's run. Set the second action of the macro to MsgBox and set the message to Welcome to the Client Billing Application. Set Beep to No, the Type to Information, and the Title to Welcome. The final action of the macro opens the frmClients form. Set the action to OpenForm and set the FormName to frmClients. Leave the rest of the arguments at their default values.
Close and reopen the database. The AutoExec macro should automatically execute when the database is opened. Close the database and open it again, holding down the Shift key to prevent the macro from executing.
Many end users try to develop entire applications by using macros. Although this is possible, you will generally want to use a combination of macros and modules to build your applications.
New to Microsoft Office Access 2007 are embedded macros. You associate these macros with a specific event. Also new to Microsoft Office Access 2007 are the capability to add error handling to a macro and the capability to include variables in a macro. These three new features make macros a much more viable choice for application development.
This material originally appeared in Alison Balter's book Mastering Microsoft Office Access 2007 Development. Reprinted here by author's permission.
For professional Microsoft Access programming in Tacoma, Washington, contact MS Access Solutions at (323) 285-0939. With over 25 years of experience, we have developed database applications across sectors such as healthcare, government, military, academia, agriculture, human resources, and insurance. Our services include, but are not limited to:
Our team delivers reliable, robust database applications that function correctly, providing the results your business requires.
Get more informaion about our programmer services at the Microsoft Access Programmer Madison, Wisconsin web page.