I saw one post with the opposite question sorry if I missed mine and repeat it. Also, granted I'm a newbie but I'm trying to understand how to take the value of the selection and pass it a database record. Pretty typical set-up I think, drop down is populated by a table from SQL Server 2005. For simplicity here the table has two columns "Plant-Key" and "Plant-Name" So data is like this:
1 Chicago
2 Paris
3 Sao Paulo
The value is the number and the display name is the text. The user selects the display name / text on the form. The text is an item in the main data source. The value is not. Can I simply set a fields value based on the secondary data source definition and have it use the correct selected item? In this example it would appear in the form rules on set field value as "@Plant-Key".
Or better / more simply asked, how can I access the value associated with the selected text?
If that is impossible, I've also seen the option on this forum to use a concatenation so that it is displayed as "1-Chicago" in the text, and then to substring it back out. Since the tables exist and the dropdown is from the external data source, I'm not sure where I would manipulate the data on the form before and after accessing the data source.
Thanks for any comments.