Logo
HOW TO
Windows XP
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
 
 
Windows 7

Microsoft Visio 2010 : Linking External Data to Shapes (part 3) - Using the Database Wizard - Setting Up the Excel File as a Data Source

3/20/2014 3:04:48 AM
Configuring Links Between Data and Shape Data
1.
Continuing with the Database Wizard where you last left off, you should now be looking at the Choose Table screen, as shown in Figure 3.

Figure 3. After you set up the data source, the named range of cells shows up as a table in the Database Wizard.


2.
Notice the Database Objects list. You should see ModelTypePower. This is the named range of cells that you defined when you first created the Excel file. Select ModelTypePower and click Next.

3.
For Choose the Number of Fields..., select 1 and then click Next. The ID field is sufficient to identify rows in our data.

4.
For Choose the Primary Key Field..., select ID from the list and then click Next.

5.
For Choose a Default Key Value..., click None instead of selecting an item from the list. The default light bulb shape won’t be linked to any particular record in the data. The wizard advances to the next screen.

6.
The Choose the Events and Actions... screen allows you to add and remove features from the data-linked shape’s right-click menu. Uncheck Delete Shape and Database Record but leave the rest of the settings as they are. Click Next.

7.
For Choose the Shape Cell to Be Used for Storing the Primary Key Field Value, select the default: Prop.ID.

If you look at the drop-down list, you see the names of the other Shape Data fields that exist in the light bulb master. Even though you didn’t add an ID field, the wizard creates it for you automatically. Click Next.

8.
The Link ShapeSheet Cells to Database Fields screen is the place where you map shape data fields to columns in the Excel file. You work in classic “chooser” style, creating pairings by moving from left to right. So first, select a value in the Cells list and a value in the Database Fields list, and then click Add. Do this for the three light bulb values:

a. Prop.BulbType, Bulb Type, Add.

b. Prop.Model, Model, Add.

c. Prop.Power, Power (Watts), Add.

9.
Now you can see why you needed to rename the Shape Data field row names. If you hadn’t, you would have to map Prop.Row_1 to Power (Watts), Prop.Row_2 to Model, and Prop.Row_3 to Bulb Type. It would be difficult to ensure that you properly mapped the right Shape Data fields to the right data fields.

When all three fields have been mapped and appear in the Links column, as in Figure 4, click Next.



Figure 4. Shape Data fields properly mapped to Excel data fields.


10.
Nod your head thoughtfully at the final summary screen and then click Finish. Congratulate yourself for your patience. Your Light Bulb master is now linked to the data in the Excel file.

11.
Save the drawing.

I know that reading step-by-step procedures for using the Database Wizard is tedious at best, but after a few times through, you’ll see that it’s not difficult. Each step of the wizard reminds you what to do, so there isn’t a lot that needs memorizing.

The trickiest part is remembering the Read Only setting when you set up the data source. This box is checked by default, which means you aren’t able to change values in Shape Data fields and push them back to the database. This is fine for many applications, where you simply want to visualize existing data in Visio but not change it from within Visio.

Other -----------------
- Microsoft Visio 2010 : Linking External Data to Shapes (part 3) - Using the Database Wizard - Setting Up the Excel File as a Data Source
- Microsoft Visio 2010 : Working with Data - Creating Reports (part 3) - Using Reports with Other Documents
- Microsoft Visio 2010 : Working with Data - Creating Reports (part 2) - Grouping and Totaling Items in a Report
- Microsoft Visio 2010 : Working with Data - Creating Reports (part 1) - Introducing the Report Definition Wizard
- Microsoft Visio 2010 : Creating and Using Shape Data Fields (part 5) - Shape Data Labels versus Names
- Microsoft Visio 2010 : Creating and Using Shape Data Fields (part 4) - Displaying Shape Data in Shape Text
- Microsoft Visio 2010 : Creating and Using Shape Data Fields (part 3) - Saving Sets of Shape Data Fields
- Microsoft Visio 2010 : Creating and Using Shape Data Fields (part 2) - Choosing Shape Data Field Types , Creating Lists and Controlling Formatting
- Microsoft Visio 2010 : Creating and Using Shape Data Fields (part 1) - Adding Simple Data Fields
- Microsoft Visio 2010 : Working with Data - Introducing Shape Data Fields
 
 
REVIEW
- First look: Apple Watch

- 10 Amazing Tools You Should Be Using with Dropbox

- 3 Tips for Maintaining Your Cell Phone Battery (part 1)

- 3 Tips for Maintaining Your Cell Phone Battery (part 2)
 
VIDEO TUTORIAL
- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 1)

- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 2)

- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 3)
 
Popular tags
Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Biztalk Exchange Server Microsoft LynC Server Microsoft Dynamic Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 Adobe Indesign Adobe Flash Professional Dreamweaver Adobe Illustrator Adobe After Effects Adobe Photoshop Adobe Fireworks Adobe Flash Catalyst Corel Painter X CorelDRAW X5 CorelDraw 10 QuarkXPress 8 windows Phone 7 windows Phone 8 BlackBerry Android Ipad Iphone iOS
Popular keywords
HOW TO Swimlane in Visio Visio sort key Pen and Touch Creating groups in Windows Server Raid in Windows Server Exchange 2010 maintenance Exchange server mail enabled groups Debugging Tools Collaborating
Top 10
- Microsoft Excel : How to Use the VLookUp Function
- Fix and Tweak Graphics and Video (part 3) : How to Fix : My Screen Is Sluggish - Adjust Hardware Acceleration
- Fix and Tweak Graphics and Video (part 2) : How to Fix : Text on My Screen Is Too Small
- Fix and Tweak Graphics and Video (part 1) : How to Fix : Adjust the Resolution
- Windows Phone 8 Apps : Camera (part 4) - Adjusting Video Settings, Using the Video Light
- Windows Phone 8 Apps : Camera (part 3) - Using the Front Camera, Activating Video Mode
- Windows Phone 8 Apps : Camera (part 2) - Controlling the Camera’s Flash, Changing the Camera’s Behavior with Lenses
- Windows Phone 8 Apps : Camera (part 1) - Adjusting Photo Settings
- MDT's Client Wizard : Package Properties
- MDT's Client Wizard : Driver Properties
 
Windows XP
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
2015 Camaro