Solved

Populate a Drop-Down list in Dexterity

Posted on 2011-09-13
3
796 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

This is a walkthrough guide I wrote whilst upgrading my on-premise MS Dynamics CRM 3.0 deployment to 4.0. This covers the actual installation of the product to a working level for my system, I ran into a lot of issues that the steps below fixed so h…
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…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

943 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now