Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to import txt file with condition
Message
 
To
22/07/2002 23:01:20
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00681454
Message ID:
00681491
Views:
23
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform