Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How To Write Data of DBF file in Text File
Message
De
11/03/2013 13:25:45
 
 
À
11/03/2013 10:34:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01567961
Message ID:
01568003
Vues:
56
>Thanks Sir,
>I tried the following code and it is working fine.
>
>
>SELECT Dummy
>set textmerge to Myfile.ps
>scan
>\<< tRIM(pS) >>
>endscan
>set textmerge to
>set textmerge off
>
>
>
>The code is Working fine and the file size is also small. Only one little problem. The First Line in the reprocessed output file is coming blank as compared to the original file Ps/text file where the PS code starts from the first line itself.
>
>kindly help
>

That's because you're using \ rather than \\. When you do textmerge with \, you get a return before the line. Try it this way:

>
SELECT Dummy
set textmerge to Myfile.ps
scan
\\<< tRIM(pS) >>
\
endscan
set textmerge to
set textmerge off
Tamar
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform