Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy to and Ctrl-Z
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Copy to and Ctrl-Z
Divers
Thread ID:
00434019
Message ID:
00434019
Vues:
35
Could you please post my message to all VFP members to have their feedback ?

Thank you again,
Paul



>Hi, Paul!
>
>In VFP you
>cannot do this by usual commands. You will have to use filetostr or strtofile functions (or low-level file functions if you use VFP 5 or your text file is too large to load it into memory, ~10 MB is not too large ;).
>
>In case of loading text into variable in memor you can do everything you want with that text.
>
>In case of low-level functions you will need to create new text file, write header to it and than append it by content of exported file.
>
>Note about truncating last record: You need to truncate last record or just some characters at the end of file? If just record, use scope for copy to operator or filter it.
>
>>I need your help to resolve this :
>>
>>use abc.dbf ( contained fields like Name,address )
>>
>>copy to abc fields name,address type delimited with blank
>>
>>I had have the text file ABC.TXT but I would like to erase the last line
>>which looked like CTRL-Z or -> in the process with a program but not manually
>>deleted.
>>
>>And how can I insert the header line more than 255 characters in my ABC.TXT
>>after the 'copy to' command process.
>>
>>
>>Thank you in advance,
>>Paul
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform