Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to trap user's selection from use ?
Message
From
29/09/2002 17:01:55
Gerald Blake
Blake Bookkeeping, Inc.
Honolulu, Hawaii, United States
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00705374
Message ID:
00705701
Views:
11
Thanks Sergey,
That works but I don't want the blank lines included before the very first memo field record is copied to the text file. Apparently strtofile() adds them to the beginning of the text file. What are the chr(13) and chr(10) characters? and how can I find an ascii table with all it's characters and an explaination of what they do? For instance I presume that the chr(13) or chr(10) must send a carriage return to create a new line. How can I learn of these characters and their purposes?



>PMFJI. You can use STRTOFILE() function.
lcCrLf = CHR(13) + CHR(10)
>* Add 3 blank lines
>STRTOFILE(REPLICATE(lcCrLf,3), "thewords.txt", .T.)
>
>>Thanks Tracy, it worked. Here is another one for you:
>>I am using copy memo words to thewords.txt additive copy the contents of a memo field into a text file and want to add several lines after the contents are copied into the text file before I move to the next record (song) in my table and do another copy memo command. How do I insert blank lines after a copy memo command?
>>
>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform