Skip to content

P3/P6 Global Variable

Dinesh KumarMember for 20 years 5 months
Created
8
3
0
Do you know if we can define global variables (either user or system) in Global Changes? I have been experimenting and can’t get it to work. User variables (&TMP, for example) seem to be reset at each activity, thus failing to carry the data over from the last one. Globalvariables that I can find, you only seem to be able to read, not write to.

I need this in the following format

Define variable ’X’
X=1000
user number1 = X (for Activity ID A1000)
X=X+10 (now X value is 1010)
user number1 = X (for Activity ID A1010) and so on

Dinesh

8 replies

Oldest first
  1. 0
    Shah. HB ·
    Dinesh ,you need to increment a activity through global change option?
  2. 0
    Dinesh Kumar ·
    In fact, When I was done with my schedule, Client came up with an activity ID coding system. So now I’m forced to change all the activity IDs (about 1000 of them in number) to suit. Is there a way out for this with a Global change?
  3. 0
    Shah. HB ·
    Yes there is a way out in global change .I will get back soon
  4. 0
    Shah. HB ·
    Hi dinesh you could modify your activity ID in P3 using global change ,check out in help {P3} and search for global change you might come across list of functions like RIGHT,LEFT and so on which would help you to modify your activity ID in easy way out
  5. 0
    Dinesh Kumar ·
    Thanks Shahul let me check
  6. 0
    Shah. HB ·
    Any clarificaiton of global change functions you could post on this thread so that seniors out here will get you better solution
  7. 0
    Ronald Romero ·
    Hi Dinesh,

    P3/P6 dont have the facilities using global change to auto increment Activity ID. The easiest way is to export it to other software like excel then import back again. Excel has robust facilities in changing text and integers including automatic renumberingincluding the formula like concactenate .


    Hope this this provide solution.

    Regards,

    Ronald
  8. 0
    Shah. HB ·
    There are few functions in global change option that would help you to modify the existing activity IDs as i posted in last message

Log in or join to reply

ProjectControls.com is free to join. Members can post questions, reply, vote and follow discussions.

Existing members: your original username and password still work. Forgot password?