Dd form 350 binding instructions

Create data bindings and conditional statements for selection subform sets

After you have created a selection subform set, you can create data bindings with or without conditional statements on the various subform objects in the set. Conditional statements give you more control over when subforms of the selection subform set appear on the form than if you only specify a data binding.

You can define a data node for each of the subform objects listed in the Alternate Subforms list in the Edit Data Subforms dialog box. When using conditional statements, you can enter an expression for which either (true) or (false) is returned at run time. Only the first entry in the Alternate Subforms list that returns (true) for a conditional statement appears on the form.

Note: If you do not specify a conditional statement for an entry in the "Alternative subforms" list, the value (true) is assumed for this entry.
  1. Select a subform set.

  2. In the Object palette, click the Subform Set tab, and make sure that Select Subform From Alternatives is selected in the Type list.

  3. Select Edit Alternatives and do one of the following to set a data binding for a subform in the subform set:

    • Select the option “Select subform whose name matches data element or attribute” to assign a data node to the subform based on its name. In this case, the names of the associated data nodes must match the names of the subform objects in the form design.

    • Select the option "Select subform via expression" to manually define the binding of the subform objects in the design to the data nodes of the data connection.

  4. Select the desired data source for the data binding in the "Data connection" list box.

  5. Click the Add button" to add a new subform to the selection subform set, or select an existing entry from the list. Adding a new subform adds a duplicate of the currently selected subform object. If no subform is selected, a new unnamed subform is added to the selection subform set.

  6. If necessary, enter a name for the new subform object in the Name field. If you are binding based on the name of the data element or attribute, the name in this field must exactly match the name of the associated data node.

    If you selected the "Select subform with name matches data element or attribute" option in step 4, go directly to step 11. Otherwise, go to step 8.

  7. Click the arrow next to the Binding field and choose a data node from the menu. Designer automatically populates the "Binding" fields with script references for the data nodes you selected. You can also enter the reference manually in the field.

  8. Select a scripting language from the Language list.

  9. In the "Expression" field, enter the script for the desired actions or the processing of the specified subform object and the specified data node.

  10. Repeat steps 6 through 10 for any additional alternate subforms.

  11. Click OK when you have added all of the entries you want to add to the list.