Microsoft KB Archive/189776

= BUG: Beautify "Data type mismatch" w/ SET UDFPARM TO REFERENCE =

Article ID: 189776

Article Last Modified on 12/11/1999

-

APPLIES TO


 * Microsoft Visual FoxPro 5.0 Standard Edition
 * Microsoft Visual FoxPro 5.0a

-



This article was previously published under Q189776



SYMPTOMS
When you run Beautify in Visual FoxPro's Editor or in a code window, you might get the following error message:

Data type mismatch.



CAUSE
The command SET UDFPARMS TO REFERENCE was run.



RESOLUTION
Before using Beautify, run the following command:

SET UDFPARMS TO VALUE



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.



Steps to Reproduce Behavior
 Type the following in the Command Window:

SET UDFPARMS TO REFERENCE

 Edit a program file, right-click in the edit window, and select Beautify from the shortcut menu. Click Run in the Beautify Options dialog box.

RESULT: A "Data Type mismatch" error message appears, and the code is not "Beautified."

Additional query words: kbVFp500abug kbTools kbXBase

Keywords: kbbug kbpending KB189776

-

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

© Microsoft Corporation. All rights reserved.