Expand my Community achievements bar.

Exactly what does the Data Drop-down List do?

Avatar

Former Community Member
What does the Data Drop-down List do? Is it used to make a drop-down list from certain records in a column in a table of a data base?
1 Reply

Avatar

Level 4
Yes, this is exactly what it does. However, it's a custom control, not a built-in control. JavaScript is used to set it up. In order to use it you have to have a data connection in the document and modify the "Initialize" script, which is were the list is populated from the DB. The "Initialize" code is a good example of how to use XFA JavaScript to access a DB. However, the code is also written in a very general manor and takes the long way around to hooking up to the DB. Much shorter code can be written for a specific DB.



Thom Parker

WindJack Solutions


www.windjack.com