Partager via


ChildOrder Property

Specifies the index tag for the record source of the Grid control or Relation object. Available at design time and read-only at run time.

Object.ChildOrder[ = cTagName]

Property Values

  • cTagName
    Specifies an existing index tag name.

Remarks

If the ChildOrder property is set, the Order property of the Cursor for the child table is ignored.

Use this property to link two tables that have a one-to-many relationship. For example, a customer table containing one record per customer links to an order table containing multiple orders per customer. For this one-to-many relationship, set the ChildOrder property to the customer ID index tag field.

The ChildOrder property mimics the behavior of SET ORDER.

See Also

ControlSource Property | LinkMaster Property | SET ORDER

Applies To: Grid Control | Relation Object