Prev | Current Page 1979 | Next

Michael R. Groh, Joseph C. Stockman, Gavin Powell, and Cary N. Prague

"Access 2007 Bible"

The initial
class is included in the Access .accdb file accompanying this chapter as the clsProduct1
class module. In this section, we extend the initial class (as the clsProduct2 class module) by
making its properties more intelligent and useful.
Specifically, this section extends the property procedures within the Product class module, and
adds methods to the module. We also expand the basic application by adding a few other classes
needed to support the Northwind Traders application.
The example application accompanying this chapter includes a form named Products_OOP,
which is based on the Products form included with Northwind Traders (see Figure 32-10). This
form utilizes the majority of OOP techniques described in this chapter and can serve as a model for
your OOP endeavors.
FIGURE 32-10
The Products_OOP form demonstrates unbound object-oriented techniques.
Retrieving product details
The first enhancement to the Product class is to update the process of retrieving product details,
given a particular ProductID.


Pages:
1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991
liswy steropianowe fasadowe Fantastyczne, fantasy gry dla dziewczyn sklep wędkarski Chillery