ADXTCT |
adxtct determines the filename of the sequence numbers.
[S]adxtct(254) Char
# Extracted from an APL.ini file[S]adxtct = "ADXCOM"
# Prepare to update the sequence numbers for the current application# from the reference application (same value for adxtct )
Local File = [S]adxmother(0)+"."+[S]adxtct [REF]
Local File = [S]nomap+"."+[S]adxtct [COM]
adxtct is an Adonix system variable of the Char type, which
sets the name of the table used for sequence numbers.
The value of adxtct must be an
OBJect_name describing the table. The table will be in the current application.
adxtct is initialized with "APLCOM" by the APL.INI file when Adonix is launched.
This table is called APLCOM as a standard, and its abbreviation is ACM. This is its structure:
|
Field Name |
Field Type |
Dimension |
Comment |
|
COMFLD |
50 Alphanumeric |
1 |
Value Field |
|
COMIND |
Short Integer |
1 |
Index |
|
COMLEN |
Short Integer |
1 |
Eventual Length |
|
COMNOM |
12 Alphanumeric |
1 |
Symbol Name |
|
COMTYP |
Short Integer |
1 |
Sequence Number Type |
The
only existing key is COMCLE, without any homonyms, defined by COMNOM+COMIND.
The type of sequence number is determined by the value of COMTYP. These are the
data types:
300 -> Description
301 -> Shortint
302 -> Integer
303 -> Decimal (the precision is given by the COMLEN field)
304 -> Float (obsolete)
305 -> Double (obsolete)
306 -> Char (the length is given by the COMLEN field)
307 -> Date
Regardless
of the type of sequence number, its value is stored in the COMFLD field, in the
form of a character string. If it is a date, its value will be encoded in the
format YYYYMMDD. For example:
[F:COM]COMNOM = DATEFIN
[F:COM]COMTYP = 307
[F:COM]COMFLD = "19951231" : # 31 December 1995
For sequence numbers of the character string type, the length of this string will be contained in the COMLEN field, and it will not be able to exceed the size of the COMFLD field (50 as a standard).
For sequence numbers of the Binary-Coded Decimal (BCD) type, COMLEN will contain the number of bytes required in the storage of the data, i.e., 17 for the standard precision of 24.8.
No associated error
|
|