Creating dynamic pop-up menusThere are two facets of dynamic pop-up menus. You can control both where the value selected in the pop-up menu comes from (and in the case of an update action, where it goes to), and you can also control the list of values that is displayed when the user clicks the pop-up menu. Usually, these bindings are to completely different content sources. For example, the list of values may be populated using one table in your database, but the pop-up list may also be bound to a different table in your database for, say, data entry purposes. Recall that values in a pop-up menu come in two parts: a label (which is displayed in the screen) and a value (which is sent to the server as the value of the field). For example, suppose you have a database table listing languages and encoding names. There might be a record that has a Language field with value U.S. English and an Encoding field with value EN_US. Fill in a pop-up menu with label or value pairs from this content source. To fill in the pop-up values of a pop-up menu:
To connect the value of a pop-up menu to a content source field:
Creating a dynamic list box follows the same procedure, except that you drag out a Bound List Box object. |