2

Week In Review

Week 2 concentrated on topics that are of value to developers in the stand-alone and workgroup environments. A wide variety of topics were covered in Week 2, including the following:

The following is a more detailed look at the topics covered in each lesson.

Day 8, "Using the Visdata Program"

On Day 8, you learned how to use the Visdata application to build and manage databases. You learned how to compile the Visdata project and how to add it to the Visual Basic Add-Ins menu.

Highlights of this chapter include learning how to use VisData to perform the following tasks:

Day 9, "Selecting Data with SQL"

On Day 9, you learned what Structured Query Language is and what it can do. You learned how to use the SELECT clause to extract data. Several additional clauses were presented that work with the SELECT clause.

Day 10, "Visual Basic and the Microsoft JET Engine"

You spent Day 10 learning about the hierarchically structured database engine that ships with Visual Basic[md]the Microsoft Joint Engine Technology (JET). You learned about the different objects contained within the engine, and their properties, events, and methods.

Day 11, "Creating Database Programs with Visual Basic Code"

On Day 11, you learned how to abandon the data control and use Visual Basic code to manage databases. Using code to create your applications produces a product that is easier to maintain. You also gain complete control over the database administration process.

You learned the following in this chapter:

You also created a series of library functions that you can use to create data entry forms without using the data control.

Day 12, "Displaying Your Data with Graphs"

On Day 12, you learned how to convert your data into pictures and display it for users' interpretation.

Also during this lesson, you created library routines that allow you to make simple calls from within your Visual Basic code to quickly create graphical displays. These graphs can be displayed in numerous formats with output directed to the screen, printer, or a file.

Day 13, "Data-Bound List Boxes, Grids, and Subforms"

In the lesson on Day 13, you learned how to use the data-bound list box, the data-bound combo box, and the data-bound grid to select and display information. You learned how to set the properties of these controls to read from and write to specified data sources. You also learned how to create subforms to display related information.

In this chapter, you learned the following:

Day 14, "Error Trapping"

No program is complete until error trapping routines are included. Problems can arise in your code, as well as in numerous other unforeseen events, which can cause erratic behavior in your programs. On Day 14, you learned about the different problems that can occur and how to guard against them.

An error handler has three basic parts:

There are four possible exits to an error handler:

You also learned several types of errors and how to manage them: