The AL developer preview is still evolving with frequent updates. Follow us on the Dynamics NAV Team Blog for the announcements.

ValidateTableRelation Property

Sets whether to validate a table relationship.

Applies To

  • Fields

Property Value

True if you want to validate the table relationship; otherwise, false. The default is true.


For fields, use this property to determine whether to validate the user's entry based on the information already in the table set up through the TableRelation Property property.

If you want to let users enter any value without validating the entry, then choose false. For example, on the item card, you can specify the vendor that you typically purchase the item from. Set this property to false to allow users to select a vendor that may not already be in the Vendor table.

If you set the ValidateTableRelation property to false, then you should also set the TestTableRelation property to false. Otherwise, a database test on the field relations in a database may fail.

See Also

TestTableRelation Property