Detailsview dropdownlist not updating Checking sex
That’s what we ultimately want to modify once the user picks a movie category: You should note that the query node’s command Type attribute value is very important. That’s because having data nodes with the names “id” and “name” in your data connection will give you a lot of headaches when attempting to iterate through the xfa.record.
node in order to find the data associated to the current record from a data connection (so that we can display the category names in the drop down list, for example).
If you want to “run” this sample, you can download the form and Movie Database here: Download Sample [zip] Minimum Requirements: Designer 7.0, Acrobat Standard 7.0.
Use the Form Builder DB20060929file to build the database, create an If you’re attempting to reproduce this sample or something similar in your own forms using Designer and Acrobat 8.0, you’ll most likely run into security errors when attempting to run the form in Acrobat 8.0.
For more information about how to protect a worksheet, see Lock cells to protect them.
In this sample, I’ve defined two data connections to the Movie Database: If you look at the node which contains information about the query currently being used by each data connection.The idea with this sample (based on the Movie Database) is to design a form which has a drop down list for picking a movie category and then a subform (which appears only once a category has been selected) that contains the movie data for all movies with the selected category.The key to achieving this functionality is to use two data connections.First, get the category selected by the user and determine it’s associated ID: Opening the data connection will cause the explicit bindings you set earlier on the fields in the movie Data subform pertaining to the movie title and show time data to be used in order to load data from the xfa.record.Movies In Cat record (which will now contain the data from the first record of the Movies In Cat data connection as per the statement we just built using the selected category ID).
If you run the form at this point, you should get three values in the list: “Action”, “Comedy” and “Drama”.