Solved

Populate a Drop-Down list in Dexterity

Posted on 2011-09-13
3
855 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 125 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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…
Desired Skill Set for Microsoft Dynamics CRM Technical Resources – Part I
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

707 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