Selecting the Build Scope
The Build feature includes three different scopes that determine the size of your build project. Depending on what you actually want to build—one record or an entire project—you can determine the scope by selecting one of the scopes described in the following topics.
Current Definition
Select Current Definition from the Build menu to build or alter the active record definition. Active definition means the definition that is currently active in the definition workspace.
Project
Select Project from the Build menu to build or alter all of the records, indexes, triggers, and views in the current project—that is, all of the records that appear in the project workspace. You typically find numerous record definitions in the Build Scope list box.
To build all definitions in a database, create a new project and insert all of the appropriate records. For example, insert records of a particular type, such as views. If you create another record after the all records project is built, you must manually add the new record to the project.
You may also build a project using the command line and specific parameters. The prerequisites for using the command line to build a project are:
-
The project exists with all objects.
-
The build settings need to be set in the Windows registry.
Note:
The Build Project process accesses every single record that is in the project, including work records, even if they are marked to be deleted.
Select Definitions Into Project
In some situations, you might want to build a subset of the records in the project that is currently open. If you do not want to build an entire project or even the current project, you can build only the definitions that you select in the project workspace by pressing the Ctrl key and selecting multiple records in the project workspace. After you select the appropriate records, right-click and select Build from the pop-up menu. Only the definitions that are selected in the project workspace appear in the Build Scope list box.
Note:
You must invoke the Build process from the pop-up menu; you cannot build selected definitions from an open project using the Build menu.