BUG: Decimal Values Missing from Internet Search Wizard Results

Last reviewed: July 30, 1997
Article ID: Q172155
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, versions 5.0, 5.0a

SYMPTOMS

When using the Internet Search Wizard to query against numeric data in FoxPro tables, decimal places will be truncated in the results.

RESOLUTION

In order for the decimal values to be displayed properly, the STR() function must be used in the SELECT statement in the IDC file. The IDC file may be edited in a text editor such as Notepad.

For example, the following IDC file that was generated by the Internet Search Wizard has been modified to include the STR() function for numeric fields (Numfield1 and Numfield2):

   Datasource:
   Template: TEST.HTX
   SQLStatement:
   +SELECT  Field1, Field2, STR(Numfield1,10,2), STR(Numfield2,10,2)
   + FROM 'TEST'
   + WHERE ID = '%SearchParam%'
   Maxrecords: 10

STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Follow the steps in the following Knowledge Base article to create an Internet search page using the Internet Search Wizard. Use a table that contains numeric fields.

          ARTICLE-ID: Q165775
    
          TITLE     : HOWTO: Setting up a Visual FoxPro Internet Server
    
    

  2. Access the search page from your Web browser.

NOTE: The decimal values on the numeric fields are truncated.


Additional query words: InetWiz
Keywords : FxtoolWizother
Version : WINDOWS:5.0,5.0a
Platform : WINDOWS
Issue type : kbbug


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.

Last reviewed: July 30, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.