Solved

Populate a Drop-Down list in Dexterity

Posted on 2011-09-13
3
783 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
Comment Utility
add item Inv#  to field lbInvNum;

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

Author Comment

by:alkabello
Comment Utility
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
Comment Utility
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

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 tutorial demonstrates a quick way of adding group price to multiple Magento products.
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.

772 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

11 Experts available now in Live!

Get 1:1 Help Now