Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COPY TO...DELIMITED bug?
Message
From
19/10/2006 09:22:41
Lutz Scheffler (Online)
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
19/10/2006 08:54:16
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01163003
Message ID:
01163264
Views:
8
>>Fabio,
>>
>>>COPY is a copy, then if a field is SPACE(3) copy must put 3 spaces into the target.
>>
>>I disagree. It must be TRIMmed because it is a CSV format. If not we would end up with a SDF that has extra spacers.
>>
>>
>>Agnes
>
>and then is this wrong ?
>
>CREATE CURSOR test1 (v1 V(3) DEFAULT 'v ',v2 V(3) DEFAULT 'v ')
>APPEND BLANK
>COPY TO test1.txt DELIMITED WITH "" WITH CHARACTER "|"
>MODIFY FILE test1.txt
>
Fabio,

I will have a closer look tomorrow.

Anyway, compare with
CREATE CURSOR test1 (v1 C(3) DEFAULT 'v ',v2 C(3) DEFAULT 'v ')
APPEND BLANK
COPY TO test1.txt DELIMITED WITH "" WITH CHARACTER "|"
MODIFY FILE test1.txt
Something's strange with VARCHAR

Agnes
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Reply
Map
View

Click here to load this message in the networking platform