Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Insert text in a *.txt file
Message
 
À
01/02/2006 12:22:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01092414
Message ID:
01092427
Vues:
14
Hi Agnes,
other example
CREATE CURSOR MyCursor (Id I,Text C(30))

INSERT INTO MyCursor VALUES(1,'aaaaaaaaaaaaaa')
INSERT INTO MyCursor VALUES(2,'bbbbbbbbbbbbbb')
INSERT INTO MyCursor VALUES(3,'cccccccccccccc')
INSERT INTO MyCursor VALUES(4,'dddddddddddddd')
m.crlf = CHR(13)+CHR(10)
m.myvar = [Id Text]+CHR(13)+CHR(10)
SCAN
    TEXT TO m.myvar NOSHOW ADDITIVE TEXTMERGE
    <<Mycursor.Id>>,<<MyCursor.Text>><<m.crlf>>
    ENDTEXT
ENDSCAN
STRTOFILE(m.myvar,[c:\test.txt])
>HI ALL ,
>
>I would want to insert informations into a txt file .
>How can I do it ?
>
>Thanks
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform