WinStudio
Binding Collections to a Form
The act of adding an IDO collection to a form automatically binds the
collection to the form. Most forms have IDO collections bound to them
at the time the form is created.
If a form has no bound IDO collection, the first IDO collection that
you add automatically becomes the primary
collection.
You can also add other IDO collections to a form that is already bound
to a primary collection. These secondary
collections can be used as subcollections.
Once added, you can remove any secondary collection from a form. You
cannot remove a primary collection.
When working with forms and collections, you can:
Adding an IDO collection
to a form
To add a collection to a form:
- With a form open in Design Mode, select the Form property
sheet.
- Click the Collections tab.
- In the hierarchical tree at the top of the property sheet, click
the Collections node.
- In the toolbar above the tree, click the New
icon.
- In the property grid, specify an IDO in the Collection property.
- In the property grid, specify a name in the Collection
Name property.
- Set other collection
properties as needed.
- Save.
Editing IDO collection
specifications
To edit specifications for a collection bound to a form:
- With a form open in Design Mode, select the Form property
sheet.
- Click the Collections tab.
- In the hierarchical tree at the top of the property sheet, select
the collection to edit.
- In the property grid, edit the collection
properties as needed.
- Save.
Removing an IDO
collection from a form
To remove a secondary collection from a form:
- With a form open in Design Mode, select the Form property
sheet.
- Click the Collections tab.
- In the hierarchcal tree at the top of the property sheet, select
the secondary collection to remove.
- In the toolbar above the tree, click the Delete icon.
- When prompted to confirm, click Yes.
Related Topics
Edit
Collection Specification for Subcollection Dialog Box
Tip:
Referencing Collections Bound to Forms or Grids
Tip: Refreshing Collections
Understanding Bound Forms
Understanding Forms
with Collections
Understanding
Forms with Subcollections