Mark mandatory fields on form, if not filled with

2019-08-04 08:24发布

if you create a new dataset, mandatory fields which are not set yet are marked with a wiggly red line.

it seems, that only string-values ( or several fields, but at least no integers ) are marked this way.

if integer-references are used ( 1-based ), the regarding fields are filled with 0 per default which causes the red line to disappear.

is there any way to leave those fields empty per default?

thanks for hints!

2条回答
在下西门庆
2楼-- · 2019-08-04 09:12

For integer and real fields you could set the ShowZero property to No (on the control or extended data type). Then zero values will appear with a red wave line.

For new base enums leave a blank zero enum value (by convention name it None).

查看更多
Summer. ? 凉城
3楼-- · 2019-08-04 09:16

Dynamics Ax does not have an "null" concept for fields. It uses some "zero" values for all data types - so you need to use some other NoYes field to express what you want if 0 is not empty

查看更多
登录 后发表回答