A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Powerpoint, Publisher and Visio » Visio
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Creating Global Data



 
 
Thread Tools Display Modes
  #1  
Old February 8th, 2010, 08:23 PM posted to microsoft.public.visio.general
CalgaryBob
external usenet poster
 
Posts: 6
Default 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  
Old February 8th, 2010, 08:34 PM posted to microsoft.public.visio.general
AlEdlund
external usenet poster
 
Posts: 468
Default 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  
Old February 8th, 2010, 08:38 PM posted to microsoft.public.visio.general
Paul Herber
external usenet poster
 
Posts: 1,732
Default 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  
Old February 8th, 2010, 11:58 PM posted to microsoft.public.visio.general
CalgaryBob
external usenet poster
 
Posts: 6
Default 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  
Old February 9th, 2010, 12:03 AM posted to microsoft.public.visio.general
CalgaryBob
external usenet poster
 
Posts: 6
Default 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  
Old February 9th, 2010, 12:59 PM posted to microsoft.public.visio.general
John Goldsmith_Visio_MVP
external usenet poster
 
Posts: 85
Default 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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:00 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.