Auto |
public class AutoNumber
The AutoNumber type exposes the following members.
Name | Description | |
---|---|---|
![]() | AutoNumber | Initializes a new instance of the AutoNumber class |
Name | Description | |
---|---|---|
![]() | AutoNumberId | The id of the autonumber. |
![]() | Code | Obsolete. The code (name) of the autonumber. |
![]() | CounterDigits | If specified, the {counter} part of the autonumber will have this length. Ex: 4, then the first value is 0004 Specifying this value alone does not prevent the autonumber from exceeding the defined length - then Stop should be defined as well. |
![]() | CurrentValue | The current number of the autonumber. |
![]() | Description | The description of the autonumber configuration. |
![]() | End | Obsolete. The end number. FormData won't be saved if CurrentValue exceeds this value. |
![]() | Format | The format of the AutoNumber. The following placeholders can be used in the format: {counter} - the incremtal counter value {yyyy} - year when autonumber is taken - 4 digits {yy} - year when autonumber is taken - 2 digits {mm} - month when autonumber is taken - 2 digits {dd} - day of month when autonumber is taken - 2 digits |
![]() | IncrementalValue | The incremental value - Etc. if set to 3, CurrentValue becomes 3, 6, 9... when incremented. |
![]() | LastIncremented | When the autonumber was last incremented. |
![]() | Name | The name of this autonumber configuration. |
![]() | PostFix | Obsolete. A string which will be appended to the actual number. |
![]() | Prefix | Obsolete. A string which will be prepended the actual number. |
![]() | ResetCounterOnNonCounterValueChange | Specifies if the counter should reset if any used placeholder in the format changes value (except from {counter}). Ex, i format is {yyyy}{counter}, and this value is true, then the counter will be reset to Start at New Years eve. |
![]() | Start | The starting number. This can only be set when creating the configuration. |
![]() | Stop | The last allowed counter value number. FormData will still be saved, but autonumber won't be set. |
![]() | UnsetValue | Obsolete. How the autonumber should look like, when it hasn't been assigned a value. |