DOCUMENT:Q115618 10-FEB-2000 [foxpro] TITLE :PRB: Numeric Overflow (Data Was Lost) PRODUCT :Microsoft FoxPro PROD/VER:MACINTOSH:2.5c,2.5x; MS-DOS:2.0,2.5x,2.6x; WINDOWS:2.5x,2.6x,3.0 OPER/SYS: KEYWORDS:kberrmsg ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft Visual FoxPro for Windows, version 3.0 - Microsoft FoxPro for Windows, versions 2.5x, 2.6x - Microsoft FoxPro for MS-DOS, versions 2.0, 2.5x, 2.6x - Microsoft FoxPro for Macintosh, versions 2.5x, 2.5c ------------------------------------------------------------------------------- SYMPTOMS ======== When you are replacing data in a numeric field with data that is greater than the field's width in the database, a "Numeric Overflow (data was lost)" error message appears. However, the data is still placed in the table, but it is in scientific notation format. In some cases, the data is replaced with the symbol "****". MORE INFORMATION ================ Steps to Reproduce Problem -------------------------- 1. In the Command window, type: CREATE test 2. For the name of the field to create, type "Test" (without the quotation marks), and then select the numeric field type and a width of 5. 3. Choose OK. 4. In the Command window, type the following commands: x=123456 APPEND BLANK REPLACE Test WITH x The error "Numeric Overflow (data was lost)" is returned. 5. In the Command window, type "BROWSE" (without the quotation marks). Note that the number appears in the database in scientific notation. Additional query words: VFoxWin FoxMac FoxDos FoxWin 2.50 2.50a 2.50b 2.60 2.60a num ====================================================================== Keywords : kberrmsg Technology : kbHWMAC kbOSMAC kbVFPsearch kbAudDeveloper kbFoxproSearch kbZNotKeyword3 kbFoxPro250cMac kbFoxPro200DOS kbVFP300 Version : MACINTOSH:2.5c,2.5x; MS-DOS:2.0,2.5x,2.6x; WINDOWS:2.5x,2.6x,3.0 ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 2000.