The information in this article applies to:
SYMPTOMSIn Visual FoxPro 5.0, the COPY TO <filename> DELIMITED WITH BLANK command places quotation marks around character fields and preserves leading blank spaces within character fields. Other versions of FoxPro create text files that are slightly different in their format. You should be aware of the possible differences if you use this command under a previous version of FoxPro to port to Visual FoxPro 5.0. WORKAROUNDIf the character fields do not need quotation marks around them, use the COPY TO <filename> TYPE SDF command. STATUSThis behavior is by design. MORE INFORMATION
Different versions of FoxPro produce slightly different text files using
the same command. Depending on the version, leading spaces may be truncated
or quotation marks may be added to character fields. For example, COPY TO
<filename> DELIMITED WITH BLANK in FoxPro 2.6a for Windows produces a text
file that does not contain quotation marks around the character fields. If
a character field contains leading spaces, they remain. However, Visual
FoxPro 3.0b exhibits different behavior. The text file contains no
quotation marks around the character fields and leading spaces are trimmed
from the fields.
DELIMITED Creates a delimited file. A delimited file is an ASCII text file in which each record ends with a carriage return and linefeed. The default field separator is a comma. Since character data may include commas, character fields are additionally delimited with double quotation marks. Steps to Reproduce Behavior
Additional query words: VFoxWin kbdsd
Keywords : kbVFp500 kbVFp600 FxprgGeneral |
Last Reviewed: December 13, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |