chr(10) and chr(13) in memofield gives | 
Author Message
 chr(10) and chr(13) in memofield gives |

Hello,

I'm filling up a string variable in code like this :

strmemo =strmemo & chr(10) & chr(13) & rs![word]

I want the words comming from the recordset using one line each.

If I view the string in debug window it looks fine, every word is using
another line.
After that I want to drop the string in a memo field on a form.

So forms![memofield] = strmemo

But then I loose the layout. Every word is printed after each other, and
the chr(10) and chr(13) are replaced by "|".

Like "word1|word2|word3"

Thanks for taking care

Dominik Verrydt

Belgium



Wed, 26 Jan 2000 03:00:00 GMT  
 chr(10) and chr(13) in memofield gives |

 I think the correct order is chr(13)  & chr(10). Just an idea.




Thu, 27 Jan 2000 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Chr(10) & Chr(13)

2. Chr(10) and Chr(13) doesn't work

3. INPUT OR READ TO STRIP CHR(10) AND CHR(13)

4. What is chr$(13) + chr$(10)

5. vbCRLF = chr(13) + chr(10)

6. is carriage return chr(13) or chr(32)

7. No Sentences in Title?! / No Chr(10) or Chr(13) in titles!!!

8. Global Const CR = chr$(13) + chr$(10) uh oh!?

9. chr(13) & chr(10) in a text box

10. Enter Parameter value CHR(13)

11. Appending chr(13) to a memo field?

12. what's the difference...(chr(13)) and vbCr

 

 
Powered by phpBB® Forum Software