If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Creating Global Data
Is there a way to create a global data structure (or variable) that is
accessible by more than 1 shape? I would like the data to be used by several shapes, but would like to change the data in only one place? Is this possible? Everything I have tried just creates a new instance of data, if I change the value of the orginal shape, the value in the assigned shapes does not change. |
#2
|
|||
|
|||
Creating Global Data
Consider datarecordsets (a feature of v2007 professional).
al "CalgaryBob" wrote in message ... Is there a way to create a global data structure (or variable) that is accessible by more than 1 shape? I would like the data to be used by several shapes, but would like to change the data in only one place? Is this possible? Everything I have tried just creates a new instance of data, if I change the value of the orginal shape, the value in the assigned shapes does not change. |
#3
|
|||
|
|||
Creating Global Data
On Mon, 8 Feb 2010 12:23:02 -0800, CalgaryBob
wrote: Is there a way to create a global data structure (or variable) that is accessible by more than 1 shape? I would like the data to be used by several shapes, but would like to change the data in only one place? Is this possible? Everything I have tried just creates a new instance of data, if I change the value of the orginal shape, the value in the assigned shapes does not change. The page (or document) can contain Custom Properties (ShapeData) or User-defined data. Click on the page so no shape is selected, menu Data - Shape Data and define your data (say, myData).. Now in the shape insert a field as ThePage!Prop.myData. -- Regards, Paul Herber, Sandrila Ltd. Electronics for Visio http://www.sandrila.co.uk/visio-electronics/ Electrical for Visio http://www.sandrila.co.uk/visio-electrical/ Electronics Packages for Visio http://www.sandrila.co.uk/visio-electronics-packages/ |
#4
|
|||
|
|||
Creating Global Data
I did try using the Shape Data Sets, but it simply created an instance of the
data at the time I applied it to the the shapes. If I went and changed the data in the set, it did not update the shapes it was assigned to, even more, if i tried assigning the new data, it just ignored it and kept the data initially assigned. But thank you for your response Bob "AlEdlund" wrote: Consider datarecordsets (a feature of v2007 professional). al "CalgaryBob" wrote in message ... Is there a way to create a global data structure (or variable) that is accessible by more than 1 shape? I would like the data to be used by several shapes, but would like to change the data in only one place? Is this possible? Everything I have tried just creates a new instance of data, if I change the value of the orginal shape, the value in the assigned shapes does not change. |
#5
|
|||
|
|||
Creating Global Data
Thank you for the reply Paul, I was unable to get Visio 2007 to accept the
syntax you suggested, but I did manage to edit the text fields (using shape sheet editor) to display the shape data of another shape on the sheet. I can't figure out what the syntax for a page number needs to be. All is good now though, thanks Bob "Paul Herber" wrote: On Mon, 8 Feb 2010 12:23:02 -0800, CalgaryBob wrote: Is there a way to create a global data structure (or variable) that is accessible by more than 1 shape? I would like the data to be used by several shapes, but would like to change the data in only one place? Is this possible? Everything I have tried just creates a new instance of data, if I change the value of the orginal shape, the value in the assigned shapes does not change. The page (or document) can contain Custom Properties (ShapeData) or User-defined data. Click on the page so no shape is selected, menu Data - Shape Data and define your data (say, myData).. Now in the shape insert a field as ThePage!Prop.myData. -- Regards, Paul Herber, Sandrila Ltd. Electronics for Visio http://www.sandrila.co.uk/visio-electronics/ Electrical for Visio http://www.sandrila.co.uk/visio-electrical/ Electronics Packages for Visio http://www.sandrila.co.uk/visio-electronics-packages/ . |
#6
|
|||
|
|||
Creating Global Data
Have a look at this link for more details on cell references:
http://msdn.microsoft.com/en-us/libr...ffice.10).aspx Best regards John "CalgaryBob" wrote in message ... Thank you for the reply Paul, I was unable to get Visio 2007 to accept the syntax you suggested, but I did manage to edit the text fields (using shape sheet editor) to display the shape data of another shape on the sheet. I can't figure out what the syntax for a page number needs to be. All is good now though, thanks Bob "Paul Herber" wrote: On Mon, 8 Feb 2010 12:23:02 -0800, CalgaryBob wrote: Is there a way to create a global data structure (or variable) that is accessible by more than 1 shape? I would like the data to be used by several shapes, but would like to change the data in only one place? Is this possible? Everything I have tried just creates a new instance of data, if I change the value of the orginal shape, the value in the assigned shapes does not change. The page (or document) can contain Custom Properties (ShapeData) or User-defined data. Click on the page so no shape is selected, menu Data - Shape Data and define your data (say, myData).. Now in the shape insert a field as ThePage!Prop.myData. -- Regards, Paul Herber, Sandrila Ltd. Electronics for Visio http://www.sandrila.co.uk/visio-electronics/ Electrical for Visio http://www.sandrila.co.uk/visio-electrical/ Electronics Packages for Visio http://www.sandrila.co.uk/visio-electronics-packages/ . |
Thread Tools | |
Display Modes | |
|
|