Microsoft KB Archive/139387

= FIX: Data Type Is Invalid for This Property Error Message =

Article ID: 139387

Article Last Modified on 9/30/2003

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0 Standard Edition
 * Microsoft Visual FoxPro 3.0b Standard Edition

-



This article was previously published under Q139387



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.

 Type each of the following commands in the Command window:

USE test.scx

GOTO 6

BROWSE

 Double-click the Properties Memo field. Put quotation marks around the value specified after Value =. In the Command window, type:

USE

 Modify or Run the Form.

<div class="status_section">

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.

<div class="moreinformation_section">

Steps to Reproduce Problem
 Create a new table called Mytable that has one field of character type and a width of 55.</li> Enter 12345 into the first record.</li> Run the Form Wizard, and add the field from this table to the form.</li> During the last step in the Form Wizard, choose Save Form and Modify it in the Form Designer.</li> The error message will appear:

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

</li></ol>

Additional query words: VFoxWin buglist3.00 buglist3.00b

Keywords: kberrmsg kbbug kbfix KB139387

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.