{"title":"OptionMembers property on table fields","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/properties/devenv-optionmembers-field-property/","by":"JOP-AL","license":"Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-optionmembers-field-property, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-optionmembers-field-property","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","description":"Learn how the OptionMembers property defines the available values for an Option field in Dynamics 365 Business Central and see an example.","date":"2026-10-01","meta":{"topic":"reference"},"outline":[{"level":1,"title":"OptionMembers property on table fields","slug":"optionmembers-property-on-table-fields","at":0,"chars":574},{"level":2,"title":"Applies to","slug":"applies-to","at":156,"chars":28},{"level":2,"title":"Example","slug":"example","at":184,"chars":273},{"level":2,"title":"Related information","slug":"related-information","at":457,"chars":117}],"text":"# OptionMembers property on table fields\n> Version: _Available from runtime version 1.0._\nSpecifies the values that are available in an Option table field.\n## Applies to\n Table fields\n## Example\nThe following example defines three option values.\n```al\nfield(2; OptionField; Option)\n{\n    OptionMembers = Open,Released,Closed;\n}\n```\nThe OptionCaptionML property is used only when the field has an OptionMembers property. See devenv-optioncaptionml-property.\n## Related information\ndevenv-properties\ndevenv-optionmembers-report-property\n../methods-auto/option/option-data-type"}