Article ID: 195626 - Last Review: October 15, 2002 - Revision: 1.0

FIX: Save As HTML Not Working Correctly with Double Data Types

This article was previously published under Q195626

On This Page

Expand all | Collapse all

SYMPTOMS

When you use the GenHTML engine to save the contents of a Visual FoxPro table to a .html file, any fields of the type double are not represented correctly in the resulting .html file.

RESOLUTION

The October 1998 Visual FoxPro 6.0 Gallery and FoxPro Foundation Classes (FFC) update includes a new version of the GenHTML.prg file, which addresses this problem. You can download the update from the following Web address:

http://msdn.microsoft.com/vfoxpro/downloads/updates.asp (http://msdn.microsoft.com/vfoxpro/downloads/updates.asp)

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This bug was corrected in the October 1998 Visual FoxPro 6.0 Gallery and FFC updates.

-and-

This bug was corrected in Visual Studio 6.0 Service Pack 3.

For more information about Visual Studio service packs, please see the following articles in the Microsoft Knowledge Base:

194022  (http://support.microsoft.com/kb/194022/EN-US/ ) INFO: Visual Studio 6.0 Service Packs, What, Where, Why

194295  (http://support.microsoft.com/kb/194295/EN-US/ ) HOWTO: Tell That Visual Studio 6.0 Service Packs Are Installed

MORE INFORMATION

Steps to Reproduce Behavior

Run the following code:
*!*  Create Sample Data
CREATE TABLE testdata (data b(5))
APPEND BLANK
REPLACE DATA WITH 99999
BROWSE NOWAIT
*!*  Generate HTML and display in browser
DO (_GENHTML) WITH 'Double Field',alias(),2
				
Note that the .html file displayed in the browser does not show any decimal places for the data contained in the table.

APPLIES TO
  • Microsoft Visual FoxPro 6.0 Professional Edition
Keywords: 
kbbug kbffc kbfix kbvs600sp3fix KB195626
Retired KB ArticleRetired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
 

Article Translations