Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Low level file function
Message
De
08/01/2001 21:15:21
 
 
À
08/01/2001 20:51:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00460942
Message ID:
00460957
Vues:
11
>I cannot use COPY TO temp TYPE CVS command because I need to insert a blank line between record.

Why not create a new cursor from the table, record by record and add a blank one after everyone, then export that?

Otherwise, after the export do something like:

StrToFile(StrTran(FileToStr('myfile.txt'), chr(13) + chr(10), chr(13) + chr(10) + chr(13) + chr(10)), 'myfile.txt')

Load the file into a String, replace all the end of lines with 2 end of lines and shove itback to the file.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform