Force Linefeed/Carraige Return in a memo field

MarionD

Registered User.
Local time
Today, 17:32
Joined
Oct 10, 2000
Messages
425
Hi there,

I’m trying to fill in a memo field in a code.
Can anyone tell me how I can force a linefeed – carraige return ?
I have tried : me.memodate & chr(10) & me.memotxt
And also me.memodate & chr(13) & me.memotxt
But both return a little square instead of a linefeed.
The Idea is that by double clicking on the date, one can add a new entry to the beginning of the memo, so that the current comments are always on top.
I have a unbound date field and a memo field. When a double click is made on the date I want to
1. Fill in the current date at the beginning of the memo
2. add a line feed/carraige return
3. concatenate what was in the memo
4. Place the cursor in the line below the current date.


12.10.2002
Now the cursor must be here

11.10.2002
this memo was here
 
So Sorry found the Answer in a simple vbCRLF! Should have searchd the help first but was already so frustrated!

Will do better next time!

Thanks
Marion
 
Or
& chr(10) & chr(13) & Memo etc
 

Users who are viewing this thread

Back
Top Bottom