Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

'Enter' character in Memo field

Status
Not open for further replies.

rjurgens

MIS
Jul 9, 2003
37
GB
I am linking to an Oracle table, and one of the fields is a memo field. The data is set up for one line, such a a name or address, then it is supposed to go to the next line. But when I display in Access, the 'enter' key (displayed as a thick vertical line in Access) does not drop down to the next line. Is there anyway I can display this correctly?

Thanks in advance
Robert
 
Hi

Have you tried changing the .enterkeybehaviout property of the text box control which is bound to the memo field ?

Regards

Ken Reay
Freelance Solutions Developer
Boldon Information Systems Ltd
Website needs upgrading, but for now - UK
 
Hi

Have you tried changing the .enterkeybehaviour property of the text box control which is bound to the memo field ?

Regards

Ken Reay
Freelance Solutions Developer
Boldon Information Systems Ltd
Website needs upgrading, but for now - UK
 
Hi

Oh dear.

Have you tried examining the actual data character by character to ensure that what you think is a CRLF (ie chr(13) followed by chr(10)), is in fact a CRLF combination

Note CRLF is carriage return linefeed

You can do this by cycling through the characters with code like

for i = 1 to len(mymemo)
? asc(Mid(mymemo,i,1))
next i

Regards

Ken Reay
Freelance Solutions Developer
Boldon Information Systems Ltd
Website needs upgrading, but for now - UK
 
Have you tried to display Replace(NameOfMemo, vbLf, vbLfCr) ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top