Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to import txt file with condition
Message
 
À
22/07/2002 23:01:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00681454
Message ID:
00681491
Vues:
21
hi..I would like to know how to import the Word file in the dbf file
in my dbf file, there is a memo field
I would like to import the content of the Word file into the memo field of my dbf file with condition. So that for some condition, certain memo field in the dbf file would be updated and the rest of the memo field would remain unchanged....


Why You not try:

my_file = FILETOSTR("MyFile.DOC")
IF your_condition
REPLACE MemoField WITH ALLTRIM(MemoField) + LEFT(... && or something else
ELSE
REPLACE MemoField WITH my_file
ENDIF
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform