Alison Balteramp;#039;s Mastering Microsoft Office Access 1002003 [Electronic resources]

Alison Balter

نسخه متنی -صفحه : 544/ 212
نمايش فراداده

Working with Project Properties

Every database project has user-definable properties. These include the following:

  • The project name

  • A description of the project

  • The name of the help file associated with the project

  • The help context ID associated with the project

  • Conditional compilation arguments

  • A password associated with the project

To view or modify project properties:

  • Activate the VBE.

  • Select Tools, <

    project name > Properties. The Project Properties dialog box appears (see Figure 12.8).

    Figure 12.8. The Project Properties dialog box.

  • Click the General tab to designate or change any of the general project properties.

  • Click the Protection tab to specify a password for the VBA project.

  • Click OK to close the dialog box, accepting the options you have set. You must close the database and reopen it for any security options to take effect.

  • The Protection option deserves special attention. If you click to select Lock Project for Viewing, the VBA project cannot be viewed or edited by someone who does not have the correct password. If you do not select Lock Project for Viewing, anyone can view the VBA project, but only someone with the correct password can change the project properties.