Thread: [Solved] Help with Drop Down
View Single Post
 
Old 01-12-2020, 05:51 PM
Guessed's Avatar
Guessed Guessed is offline Windows 10 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,176
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

There is a non-macro way of doing this by using linked Content Controls. For the simplest example of this, I will choose to link to a built-in xml property.

First go to the Developer Tab and click on the XML Mapping Pane
Put your cursor where the dropdown list needs to appear. In the XML Mapping Pane, right click on one of the xml fields (I chose Category) and choose Insert Content Control > Dropdown List
Now move your cursor to where the employee number should appear. In the XML Mapping Pane, right click on the same xml field and choose Insert Content Control > Plain Text.
Now select the Dropdown List Content Control you added and go to Developer > Properties. Add the names and numbers by using the Add button (put employee names in the Display name field and their employee number in the Value field.

Once this is done, make a selection on the dropdown and the plain text content control will show the value.
Attached Images
File Type: png InsertLinkedCC.png (21.5 KB, 76 views)
File Type: png InsertLinkedCC_2.png (25.7 KB, 73 views)
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote