FIX: Data Type Is Invalid for This Property Error Message

Last reviewed: October 29, 1997
Article ID: Q139387
3.00 3.00b WINDOWS kbtool kbbuglist kbfixlist kberrmsg

The information in this article applies to:

  • Microsoft Visual FoxPro for Windows, versions 3.0, 3.0b

SYMPTOMS

Modifying or running a form created by the Form Wizard results in this error message:

   Error loading file - Value - record number x. Data type is invalid for
   this property.

CAUSE

This problem occurs if the first record contains numbers in a character field.

WORKAROUND

Modify the .scx file by using it as a table, and put quotation marks around the Value property.

  1. Type each of the following commands in the Command window:

    USE test.scx GOTO 6 BROWSE

  2. Double-click the Properties Memo field.

  3. Put quotation marks around the value specified after Value =.

  4. In the Command window, type:

    USE

  5. Modify or Run the Form.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem has been fixed in Visual FoxPro 5.0 for Windows.

MORE INFORMATION

Steps to Reproduce Problem

  1. Create a new table called Mytable that has one field of character type and a width of 55.

  2. Enter "12345" (without the quotation marks) into the first record.

  3. Run the Form Wizard, and add the field from this table to the form.

  4. During the last step in the Form Wizard, choose Save Form and Modify it in the Form Designer.

  5. The error message will appear:

    Error loading file - Value - record number x. Data type is invalid for this property.


Additional reference words: 3.00 3.00b VFoxWin buglist3.00 buglist3.00b
KBCategory: kbtool kbbuglist kbfixlist kberrmsg
KBSubcategory: FxtoolWizscreen
Keywords : FxtoolWizscreen kbbuglist kberrmsg kbfixlist kbtool
Version : 3.00 3.00b
Platform : WINDOWS
Solution Type : kbfix


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: October 29, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.