Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Export Memo Files to a TEXT File
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 7
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01413529
Message ID:
01413552
Vues:
54
>How is the information can be read in the text file by the SAP program. The information is tied to a record. I need to keep all the information together.

See if this is close to what you need - if not, give the way the file should be written to be understood by SAP.
TEXT TO lcTest noshow
This week test 07/18/2009 laboratory test on Carbon gave very good result.


**************

This week laboratory Stress Test on Carbon did not meet the requirement
Date: 07/15/2009

**************

Date: 07/12/2009: This week laboratory Enviromental Test is coming along good.
ENDTEXT

CREATE CURSOR curT (IDF I, CharF C(10), MemoF M)
INSERT INTO curT VALUES (1, "Test 1", lcTest)
INSERT INTO curT VALUES (2, "Test 2", lcTest + "ddddddddd")

SCAN
   TEXT TO lcResult ADDITIVE TEXTMERGE NOSHOW 
<<IdF>>    <<CharF>>   <<MemoF>>            
   ENDTEXT
   * here you can also add a separator between records
ENDSCAN

?lcResult

STRTOFILE(lcResult,'test.txt')
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform