Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Memo field doesn't contain what it should
Message
From
28/11/2008 10:37:09
 
 
To
28/11/2008 10:33:54
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01338916
Message ID:
01364507
Views:
11
It depends on what the text is used for. A chr(13) alone will in some editors show the lines on top each other instead of under each other. Chr(10) makes sure that the next line will always come on a new line.

>Why would the chr(10) be necessary? Using only chr(13) seems to be doing the job.
>
>>Just a sidenote: in addition to chr(13), you should also add chr(10).
>>
>>>I want to add a date to a memofield. If the field is empty I only add a date. If the field is not empty I do an alltrim on the content of the memo and then I add chr(13) and then I add a date.
>>>
>>>It does'nt work for one of my memo fields. I have one empty line that should'nt be there.
>>>
>>>I thought that SET MEMOWIDTH could help but it didn't change a thing.
>>>
>>>Any thoughts?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform