Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DBF to Text file
Message
 
To
23/03/2006 03:25:05
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01106892
Message ID:
01106901
Views:
26
This message has been marked as the solution to the initial question of the thread.
>>>Hi Toall,
>>>
>>> Anyone who knowns how to convert dbf to text files.
>>>i used this command: COPY TO filename DELIMITED WITH CHAR BLANK and the result is
>>>"SLBA" "054016" "GACRWH"
>>>But all iwant is this result: SLBA 054016 GACRWH.
>>>without open and close quote, and used their corresponding field lenght as a spaces.
>>>
>>>
>>>TIA
>>>Ryan
>>
>>
Copy field1,field2 to newfile sdf
>
>Hi tore,
>
> thanks for the quick reply,also i want to insert into the
>First line to contain file hash totals, Number of records lines
> e.g
>
>03
>SLBA 054016 GACRWH
>SLBA 054017 GACRWH
>SLBA 054018 GACRWH
>
>
Copy field1,field2 to newfile sdf
>
>what is wrong i got this message: unrecognized phrase/keywords?
>
Copy so.compcde,so.ornum,so.custcde to sample1 sdf
>
>
>TIA
>Ryan
COPY TO newFile sdf FIELDS field1,field2
lnRec = _TALLY
STRTOFILE(PADL(TRANSFORM(lnRec),2,[0])+CHR(13)+CHR(10)+FILETOSTR([newfile.txt]),[newfile.txt])
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform