web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :

Options VS Enums

Ashwini Tripathi Profile Picture Ashwini Tripathi 4,624
To define a variable of type Option, you can’t use the OptionMembers property that’s used on a field of data type Option. You need to list the available options as a comma-separated list after your variable definition. For example:- Color: Option Red,Green,Yellow; If you want to reuse the same Option type in other objects (like other codeunits, pages, or tables), you […]

This was originally posted here.

Comments

*This post is locked for comments