Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Textmerge problem
Message
De
21/03/2007 07:57:32
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
21/03/2007 05:52:11
Victor Lapid
Phil. Long Distance Tel. Co.
Manila, Philippines
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01206413
Message ID:
01206443
Vues:
30
This message has been marked as the solution to the initial question of the thread.
>Hi to all,
>
> Im using textmerge command in vfp to create a text file from a dbf table. The problem is after the text file has been created, the first line of the text file contains blank (space). VFP always writes the data on the 2nd line.
>How do I correct my code wherein data should be written on the first line of the file?
>THanks in advance.
>
>Sample code:
>set TEXTMERGE ON
>OutADSLSOPFile="adslsop"+SUBSTR(DTOC(DATE()),7,2)+SUBSTR(DTOC(DATE()),4,2)+SUBSTR(DTOC(DATE()),1,2)+SUBSTR(TIME(),1,2)+SUBSTR(TIME(),4,2)+".txt"
>SEt TextMErge to "C:\DSL\"+OutADSLSOPFile NOSHOW
>SCAN
>\WORK_ASGN_ID=
>\\<>
>\OPERATION_ID=
>\\<>
>\OPERATION_MODE=
>\\<>
>\
>eNDscan

Start with \\
Also you can do it with a single "copy to" command.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform