Category : Paradox DBMS
Archive   : TECH91.ZIP
Filename : TI135.ASC

 
Output of file : TI135.ASC contained in archive : TECH91.ZIP







PRODUCT : Paradox NUMBER : 135
VERSION : ALL
OS : DOS
DATE : November 5, 1991 PAGE : 1/3

TITLE : An Explanation of Numeric Formats in Form View




When formatting numeric fields in Form View it is necessary to
take into account that Paradox reserves space for special
characters in addition to the actual numeric values contained in
the field. Even if you have allowed enough space for the number
itself when placing a regular field in the Form Editor you may
still get an overflow situation (i.e. asterisks filling the field
value) if you do not also account for these special display
characters. These characters include the plus sign[+], minus
sign[-], commas[,], parentheses[()], decimal point[.], and an
asterisk [*] which is used in Edit mode to show that not all
significant digits are being displayed.

Depending on the type of numeric format being used in a
particular field and the type of numeric field (i.e. Numeric [N],
Currency [$], Short Number [S]) different combinations of special
characters are implemented. Each special character has a fixed
place in the format. This must be taken into account when
deciding how much room is necessary to display the entire value.
In addition, the maximum number of decimal places will be
reserved before the integer section of the number is evaluated
for display.

Since the characters and their places are dependent on the type
of field (i.e. Numeric, Currency or Short) and on the format of
that field we will address the behavior of these characters on a
case by case basis.

THE NUMERIC FIELD TYPE:

General Format:
General Format always reserves a space for the minus sign[-].

Fixed Format:
Fixed format is the same as General format except the Fixed
format always fills in all unused decimal slots with zeros up to
the maximum setting.

Comma Format:
Comma format always reserves spaces for the Open Parenthesis [(]
and Close Parenthesis [)]. Paradox uses these characters instead
















PRODUCT : Paradox NUMBER : 135
VERSION : ALL
OS : DOS
DATE : November 5, 1991 PAGE : 2/3

TITLE : An Explanation of Numeric Formats in Form View




of the minus sign to designate a negative number. In addition
commas will be used as thousands separators. These will be
inserted as needed depending on the size of the number. These
characters do not require reserved space if not used, but do take
up one character's space (per comma) when used.

Scientific Notation Format:
Scientific format reserves a space for the minus sign and four
spaces for the e+## or e-## at the end. Although the asterisk is
not shown when rounding occurs the space for the asterisk is
reserved.

Notes for all Numeric Fields:
Spaces will be reserved for a decimal point and the number of
decimal places for the current setting. If decimal places are
set to 0 then the decimal point space is not reserved.

The Numeric Field type always reserves the last character of the
field value for an asterisk. This asterisk will appear in edit
mode to notify the user that the current value displayed is
rounded or truncated to conform the current precision format.
For example, if the actual stored number is 123.123 but the field
is formatted to display only two decimal places the value in the
field will appear as 123.12* when you move to that record.

THE CURRENCY FIELD TYPE:

The Currency field type ($) is really a Numeric field type with a
Comma format rounded to two decimal places. All information
listed above for this type of Numeric format is accurate for a
Currency field.

THE SHORT NUMBER FIELD TYPE:

The Short Number field type is strictly an integer field. The
only reserved character space is for a minus sign.




















PRODUCT : Paradox NUMBER : 135
VERSION : ALL
OS : DOS
DATE : November 5, 1991 PAGE : 3/3

TITLE : An Explanation of Numeric Formats in Form View




EXAMPLES:

All examples are compared to a 12 character formatted field width
(marked off by dashes) so that relative placement can be shown.
Note that the Short Number row only has a format width of 6
characters due to the built-in limitation of this field type.
The trailing asterisk will only be displayed if the number is
rounded in order to conform to the current decimal place setting.
Note that the asterisk is not displayed when all significant
digits are shown. This would only be visible if a user was in
Edit mode with the cursor resting on the record containing these
values. The actual stored value in this example is 1234.123,
except for the Short Number value which cannot store decimal
values.

ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ Decimal Places ³ Positive Number ³ Negative Number ³
ÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
General ³ 2 ³ 1234.12* ³ -1234.12* ³
or Fixed ³ ³ ------------ ³ ------------ ³
ÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
General ³ 3 ³ 1234.123 ³ -1234.123 ³
or Fixed ³ ³ ------------ ³ ------------ ³
ÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
Comma or ³ 2 ³ 1,123.12* ³ (1,234.12)* ³
Currency ³ ³ ------------ ³ ------------ ³
ÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
Comma ³ 3 ³ 1,234.123 ³ (1,123.123) ³
³ ³ ------------ ³ ------------ ³
ÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
Scientif.³ 2 ³ 1.23e+03 ³ -1.23e+03 ³
Notation ³ ³ ------------ ³ ------------ ³
ÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
Scientif.³ 3 ³ 1.234e+03 ³ -1.234e+03 ³
Notation ³ ³ ------------ ³ ------------ ³
ÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
Short ³ N/A ³ 1234 ³ -1234 ³
Number ³ ³ ------ ³ ------ ³
ÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ












  3 Responses to “Category : Paradox DBMS
Archive   : TECH91.ZIP
Filename : TI135.ASC

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/