newRecordIdTypeLinkar |
null |
the creation options of the Linkar type code
|
|
newRecordIdTypeRandom |
null |
the creation options of the Random type code
|
|
custom |
boolean |
false |
customized code creation
|
If an object of this type is used in NewOptions, there are 3 different ways of assigning IDs to new records:
1.Custom: this is a boolean property that if is established to true, the codes are assigned through a customized routine SUB.LK.MAIN.NEWRECOVERRECORDID.CUSTOM that must be created in the database.
2.Linkar: this mode is based on the LK.COUNTERS file. To use this mode a NewRecordIdTypeLinkar class instance will have to be created, assign its Active property to true and assign the Prefix, Separator and FormatSpec properties.
3.Random: to use this mode an instance of the NewRecordIdTypeRandom class will have to be created, its Active property must be assigned to true and the numeric and Length properties assigned.