Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Memo field doesn't contain what it should
Message
 
 
To
14/08/2008 12:48:43
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01338916
Message ID:
01338918
Views:
13
>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?

Can you show your code? I think it should work as is without any problems. Also it may be that you already had an CHR(13) in that record. Empty() and ALLTRIM() would not remove char(13) chr(10) from the record. You need to examine this memo record for non-visible characters.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform