The information in this article applies to:
SYMPTOMSIssuing two consecutive COPY TO <filename> TYPE SDF commands causes Visual FoxPro 5.0x to return the following error message on the second command: This error does not occur in Visual FoxPro 3.0b. RESOLUTIONCheck for the existence of the first SDF file and if it exists delete it. In the code example in the MORE INFORMATION section below, the following code accomplishes this task. Place the code between the two COPY TO commands:
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This has been corrected in Visual FoxPro 6.0. MORE INFORMATIONThe error message occurs only when zero (0) is the first character in the SDF file. However, if the resulting SDF file is smaller than 8000 bytes, the error does not occur even if the zero character is in the SDF file. Finally, choosing any other file format or placing any other character in the SDF file prevents the error. Steps to Reproduce BehaviorCreate a program that contains the following code and execute it:
The error appears on the second COPY TO command.
Additional query words: sdf
Keywords : kbVFp kbVFp500 kbVFp500a kbVFp600fix FxprgGeneral |
Last Reviewed: December 10, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |