IRNRange Registry entry
Specify a range of numbers for the Internal Record Number (IRN).
With this Registry entry it is possible to specify a range of numbers for IRNs.
This could be useful if, say, multiple sites access the same database and there is a need to know to which site a record belongs (based on the record IRN).
Note: IRN range checking is built into the
Range checking occurs when a new record is created.
Usage
This Registry entry can be assigned to users and groups:
Key | User | User | Group | Group | Group | Group |
---|---|---|---|---|---|---|
Key 1 | User
|
User
|
Group
|
Group
|
Group
|
Group
|
Key 2 | user | user | group | group | Default
|
Default
|
Key 3 | Table
|
Table
|
Table
|
Table
|
Table
|
Table
|
Key 4 | table | Default
|
table | Default
|
table | Default
|
Key 5 | IRNRange
|
|||||
Value | start-end |
User
|
user | Table
|
table | IRNRange
|
start-end |
User
|
user | Table
|
Default
|
IRNRange
|
start-end |
Group
|
group | Table
|
table | IRNRange
|
start-end |
Group
|
group | Table
|
Default
|
IRNRange
|
start-end |
Group
|
Default
|
Table
|
table | IRNRange
|
start-end |
Group
|
Default
|
Table
|
Default
|
IRNRange
|
start-end |
where:
start-end |
must be two integers separated by a hyphen, the second integer larger than the first. The range is inclusive of the start and end values. |
This entry may be set across all tables, or for an individual table or user.
Examples
This entry sets the range of IRN numbers to be from 1000000 to 2000000 for all tables:
Key | Setting |
---|---|
Key 1 | Group
|
Key 2 | Default
|
Key 3 | Table
|
Key 4 | Default
|
Key 5 | IRNRange
|
Value | 1000000-2000000
|
This entry specifies that the range of IRN numbers for eparties is from 50000 to 99000:
Key | Setting |
---|---|
Key 1 | Group
|
Key 2 | Default
|
Key 3 | Table
|
Key 4 | eparties
|
Key 5 | IRNRange
|
Value | 50000-9900000000
|