Home | Amazing | Today | Tags | Publishers | Years | Account | Search 
Microsoft Access 2010 VBA Macro Programming

Buy

Database macro programming has changed enormously over the last 15 years, having gone from Access Basic macros to VBA. Another major change occurred with Office 95, when macros went to VBA modules in a separate environment accessed via the Visual Basic Editor. It used to be fairly basic: code was entered into a special design window. Although the language was rather powerful in its own right, it was not a structured language and could certainly not be described as object-oriented. The number of commands was limited, and a fair amount of ingenuity was required to do certain tasks. The main advantage was that it was fairly easy to learn and understand; many programmers cut their teeth by initially writing database macros.

If anyone other than the original author examined the code, it could take days to find out exactly how it worked and what it was doing. Commercial companies frequently found that when the author of a complicated macro left the company, that macro had to be rewritten from scratch because of the time involved in assessing what it was doing.

Microsoft has introduced a new programming language called Visual Basic for Applications (VBA). VBA is a more intuitive and robust programming language, using an object-oriented design. It has many similarities with its older and larger cousin, Visual Basic (VB). Once you learn VBA, you will have a fair understanding of how Visual Basic itself operates.

VBA is extremely different from the old macro language, and if the older language is what you are used to, it will mean totally rethinking how you write and structure your code. The concepts of object-oriented programming (OOP) are as different as chalk and cheese to the old macro language, but there is a huge advantage in terms of what you can achieve on a spreadsheet. With object-oriented programming, you are dealing with the concept of objects. To use an example, the database you load is an object. The tables and queries where you access your data are other objects, and so are the printer and the screen. They have properties, events, and methods (discussed later in the book). You will start to see object-oriented programming in more detail when you reach Chapter 14.

VBA does allow a more structured and object-oriented approach to writing your macros. If this is your first foray into the world of Access macro programming, you may well find the concepts easier to grasp, since you have no knowledge of the technologies used in the past within Excel. The Access Basic macros were a completely different language in terms of how and where you entered it. The concept of VBA is unique and cannot be compared to the old Access Basic macros. Unfortunately, knowledge of the old system of writing macros can add to confusion with the new method of VBA and extend the learning curve.

(HTML tags aren't allowed.)

Pervasive Collaborative Networks: IFIP TC 5 WG 5.5 Ninth Working Conference on VIRTUAL ENTERPRISES
Pervasive Collaborative Networks: IFIP TC 5 WG 5.5 Ninth Working Conference on VIRTUAL ENTERPRISES
In earlier definitions, organization’s competency is mainly addressing its capabilities, for example Gallon (Gallon et al, 1995) defines competency as “aggregation of capabilities, where synergy that is created has sustainable value and broad applicability”. However participation of VBE members in general VBE...
Professional Windows Phone 7 Application Development: Building Applications and Games Using Visual Studio, Silverlight, and XNA
Professional Windows Phone 7 Application Development: Building Applications and Games Using Visual Studio, Silverlight, and XNA

A one-of-a-kind book on Windows Phone 7 development

While numerous books cover both Silverlight and XNA, there lacks a resource that covers the specifics of Windows Phone 7 development. This book fills that void and shares the specifics of building phone applications and games. You’ll learn how to get started with...

ActionScript Developer's Guide to PureMVC
ActionScript Developer's Guide to PureMVC

Too often in the development of a large application, the developer must stop and think about where to find some class he needs, where some new class should go, and how to wire them up in such a way that gets data from wherever it lives to a display so the user can interact with it or vice-versa.


OpenGL SuperBible (3rd Edition)
OpenGL SuperBible (3rd Edition)
OpenGL SuperBible, Third Edition is a comprehensive, hands-on guide for Mac and Windows programmers who need to know how to program with the new version of OpenGL. This book will help readers master and expand their knowledge of 3D graphics programming and OpenGL implementation. Seasoned OpenGL programmers will also...
Basic Math and Pre-Algebra For Dummies
Basic Math and Pre-Algebra For Dummies

Tips for simplifying tricky operations

Get the skills you need to solve problems and equations and be ready for algebra class

Whether you're a student preparing to take algebra or a parent who wants to brush up on basic math, this fun, friendly guide has the tools you need to get in gear. From positive,
...

Lonely Planet Paris (City Guide)
Lonely Planet Paris (City Guide)

“Paris has a timeless familiarity for first-time and frequent visitors, with more architectural icons than any other city along with glorious food, stylish shopping and priceless artistic treasures.” – Catherine Le Nevez, Lonely Planet Writer

Our Promise
You can trust our travel information
...

©2021 LearnIT (support@pdfchm.net) - Privacy Policy