Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Populate a Drop-Down list in Dexterity

Posted on 2011-09-13
3
Medium Priority
?
880 Views
Last Modified: 2012-05-12
I'm trying to populate a drop-down list in Dexterity v9.

I can either get the info from a while loop going through a range of data, of 'bind' the drop-down list to a TEMP table populated during the while loop.

Can anyone provide the code needed to add the items?  My drop-down list is a local field, and  is called lbInvNum, and I'm trying to add a list of Invoice Numbers.

Lastly, what property of this object (lbInvNum) will hold the selected value?

Thanks in advance.
0
Comment
Question by:alkabello
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 10

Accepted Solution

by:
Abdulmalek_Hamsho earned 375 total points
ID: 36529555
add item Inv#  to field lbInvNum;

Is this what you're looking for?
0
 
LVL 2

Author Comment

by:alkabello
ID: 36529594
I will try that...

I'm expecting a string result (Inv #).
What will hold the value of what is selected?
0
 
LVL 2

Author Closing Comment

by:alkabello
ID: 36531249
You are correct on the add item answer which addressed the first question
.
For the second question, the value returned when something is selected is the index of the choices.

I will need to build an array to reference back to the selections added to the list.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

On Sep 22nd 2014 Microsoft released Update Rollup 1 for Microsoft Dynamics CRM 2013 Service Pack 1 and back in July Update Rollup 3 was released.  So we now have:   Update Rollup 1Update Rollup 2Update Rollup 3Service Pack 1Update Rollup 1 for S…
Automatically creating a Trello card using data from a Microsoft Dynamics CRM record turned out to be an easy project that yielded great results.  Here's how I did this for an internal team at General Code.
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses

596 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question