Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
reading / P6 Professional User Guide.pdf
Скачиваний:
1
Добавлен:
12.06.2025
Размер:
1.59 Mб
Скачать

P6 Professional User Guide

Changing the subject area of a specification will clear all existing If, Then, and Else statements.

Rearrange Global change statements

Global change statements run in the order they are presented in the Global Change dialog box.

1)Select the statement you want to move.

2)Click the arrows in the Global Change dialog box to move a statement within the list of defined statements.

Cut, copy, or paste a statement

1)Choose Tools, Global Change.

2)Select the global change specification you want to edit, then click Modify.

3)Select the statement you want to cut or copy, then click either Cut or Copy.

4)Click the section into which you want to paste the statement.

5)Click Paste.

The new statement is placed at the bottom of the list of statements.

Note

You cannot paste statements from the If section of the Global Change dialog box into the Then or Else sections; however, you can cut or copy and paste between the Then and Else sections.

Combine text fields

You can use Global Change to modify text data items such as activity IDs and names, and activity codes by linking two text fields using the ampersand (&) operator. This is called concatenation. The following statement adds the Location activity code value to the Activity ID field, if a value is assigned to the activity:

Then: Activity ID = Activity ID & Location

Tip

Use a dash (-) or underscore (_) to represent spaces when concatenating data.

Use arithmetic with Global change

You can use mathematical equations to change numeric data such as quantities, costs, and durations. Use addition, subtraction, multiplication, and division to calculate new values. Click the Operator column to list the various operator symbols. Join text strings with an ampersand (&) symbol.

154

Developing Projects

Arithmetic operators can link two data items, a data item and a number, or two numbers that you enter. Use arithmetic operators in Then and Else statements to calculate new values for a data item. Arithmetic operations are not used in If: statements; only comparisons.

155