O'Reilly logo

Microsoft® Access VBA Programming for the Absolute Beginner by Michael Vine

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 4CONDITIONS

In this chapter, I’ll show you how to implement conditions, which allow programmers to build decision-making abilities into their applications using If blocks and Select Case structures. In addition, I’ll show you how to leverage VBA’s built-in dialog boxes and additional controls to enhance your graphical interface and your system’s intelligence.

IF BLOCKS

A basic component of a high-level language is the ability to construct a condition. Most high-level programming languages offer the If block as a way to evaluate an expression. Before proceeding into If blocks, I discuss what an expression is in terms of computer programming.

In programming terms, expressions are groupings of keywords, operators, and/or variables that produce ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required