Microsoft KB Archive/179479

= PRB: Problems with Error 2004 and 2005 Commands =

Article ID: 179479

Article Last Modified on 8/10/1999

-

APPLIES TO


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

-



This article was previously published under Q179479



SYMPTOMS
Using the ERROR command with either error number 2004 or 2005 produces a blank dialog box instead of the proper error message.



STATUS
Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.



MORE INFORMATION
The error message for error number 2004 should return the following message:

The table file "name" has moved. Please validate database "name" and try again.

The error message for Error number 2005 should return the following message:

Error with "name" - "property": "error".

If you attempt to pass the two error numbers listed above more than one parameter, you receive a syntax error message.

Steps to Reproduce Behavior
 Activate the Command window and type the following commands:

ERROR 2004

ERROR 2005

 Blank dialog boxes appear.  If you pass more than one variable to the ERROR command for error numbers 2004 or 2005, a syntax error occurs. For example, a syntax error occurs if you type the following in the FoxPro Command window because you want to represent a table and a database name for error 2004: ERROR 2004, "Customer","Testdata" 

