Chapter 4: Controlling the Program

team lib

Overview

Most of the procedures that you have seen so far have been fairly simple - they start at the first line, finish at the last, and execute the lines in between one after the other. However, there are times when you want to run only one section of code, or perhaps run a section of code more than once, depending on certain conditions. To do this, you have to introduce control structures into your code. These are what we'll look at in this chapter.

We'll cover:

  • How to make decisions in a program

  • How to perform repetitive tasks

  • How to store variables in an array

  • The difference between static and dynamic arrays

 
team lib


Beginning Access 2002 VBA
Beginning Access 2002 VBA (Programmer to Programmer)
ISBN: 0764544020
EAN: 2147483647
Year: 2003
Pages: 256

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net