# MaxValue Property
> Version: _Available or changed with runtime version 1.0._
Sets the maximum numeric value for a field.
## Applies to
 Table field
 Page Field
## Property Value
Value|Description
9999|Integers
9999.0|Decimals
December 31, 9999|Dates
23:59:59|Time
## Syntax
```al
MaxValue = 100;
```
## Remarks
The field 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 directly. If a field is updated through application code, then the MaxValue is not validated.
## Related information
devenv-minvalue-property
devenv-notblank-property
devenv-numeric-property

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-maxvalue-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. https://jonas-paprotka.de/docs/dev-itpro/developer/properties/devenv-maxvalue-property/
