I thought I would post a little sample on data-nominated subforms tonight. This is a new feature, introduced in Designer 7.1, which can be a very powerful tool.
Since the feature essentially lets you define expressions against values from data being loaded into a form in order to control which subform, from a specified set (subform set containing subforms), will be used for the record currently being loaded into the form, you can do very interesting things. For example, you might have a table which lists data. Maybe you would like to use a row which has a yellow background to identify data which is not important, one with an orange background for data that’s important and one with a red background for data that’s very important. This can be easily achieved using Data-Nominated Subforms.
I’ve created a little sample based on the movie data I used for the “Conditional Breaks Sample”:http://blogs.adobe.com/formbuilder/2006/05/conditional_breaks.html I posted a few days ago. In this sample, I have a subform set which contains 3 subforms, each capable of binding to a movie record. The twist is that I want to use the green subform for comedies, the red one for action movies and the blue one for dramas.
“Download Sample [zip]”:http://blogs.adobe.com/formbuilder/samples/DataNominatedSubforms.zip
*Minimum Requirements:* Designer 7.1, Acrobat Pro 7.0.5.
*Note:* A basic understanding of Data Binding is required for this sample.