ValuesAllowed Property
Version: Available or changed with runtime version 1.0.
Sets the values that are allowed in the field.
Applies to
- Table Field
- Page Field
Syntax
ValuesAllowed = Codeunit, Page, Query;
Remarks
Separate the values with a comma. For example, if you only want the user to enter 1, 3, or 5 in this field, enter 1,3,5 for this property.
The property setting is checked during validation. Validation occurs only if the field or control value is updated through the UI, for example, if a value is updated on a page or if a field is updated in a table. If a field is updated through application code, then the ValuesAllowed property is not validated.
See Also
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈