Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Text file to table
Message
From
01/07/2004 21:34:26
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00919924
Message ID:
00919956
Views:
10
I think - but I don't have VFP with me right now - that APPEND MEMO would append the text file into the memo.

Also, if you need to do some additional processing, you can FileToStr() into a variable, do any requried manipulation with the text variable, and then just use REPLACE to put the result into the memo.

FileToStr() is available in VFP 6 or later; for earlier versions, there are UDFs that emulate it.

>hi-
>
>I hope you can help.
>I have this text file with chapters in it going from chapter 1 to 25. I need to put this text file into a table. The fields i am using are chapter is numeric and the text part mneed to go into a memo field. Could some help me out with some code to work from..
>
>
>thanks
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform