PRB: Field Width Increases When Use Visual FoxPro ODBC Driver
Article ID: 150434
Article Last Modified on 11/1/2001
APPLIES TO
- Microsoft Visual FoxPro 5.0 Standard Edition
This article was previously published under Q150434
SYMPTOMS
When the Visual FoxPro ODBC driver is used to create a numeric field of
width 5 with decimal 2, the driver adds two places to the width in order to
ensure that the length is of sufficient size. Two positions are added to
compensate for the sign and decimal that is normally included in the length
in native Visual FoxPro.
CAUSE
When a table is created with a numeric field, the decimal point and sign
are counted in the width by Visual FoxPro. However, the ODBC standards do
not specify how the decimal and sign should be specified when creating a
table.
STATUS
This behavior is by design.
Additional query words: 1.00 VFoxWin
Keywords: kbprb KB150434