次の方法で共有


OneToMany Property

When moving through records in the parent table, specifies whether the record pointer remains on the same parent record until the record pointer of the child table moves through all related records. Available at design time; read-only at run time.

Object.DataEnvironment.Relation.OneToMany[ = lExpr]

Return Value

  • lExpr
    The settings for the OneToMany property are:

    Setting

    Description

    True (.T.)

    The record pointer remains on the same parent record until the record pointer of the child table moves through all related records.

    False (.F.)

    (Default) The parent table's record pointer moves to the specified record and the child table's record pointer moves to the first related record.

Remarks

Applies To: Relation

The OneToMany property can be used to specify the record pointer movement in a simple parent-child table relationship. To specify the record pointer movement in a more complex relationship (for example, a grandparent-parent-child relationship), use SET SKIP in the Init method for the Form or report.

When OneToMany is set to true (.T.), it mimics the behavior of SET SKIP.

See Also

Reference

SET SKIP Command

Other Resources

Properties (Visual FoxPro)