A data module is an interface specification that allows data components to be centralized. By centralizing the data components, and in theory, centralizing the business rules, a data module can be shared across forms and projects.
A data module is created from the File, New menu. This brings up the Object Gallery. Select the General tab and click on Data Module. Click OK.
Figure 15.19 displays the Data Module Wizard that is invoked when you add a data module to your project.
The Data Module Wizard prompts you for the package and class name for the data module. The package does not have to ...