By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,389 Members | 2,044 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,389 IT Pros & Developers. It's quick & easy.

Carriage return with MYSQL

P: n/a
I want to insert a carriage return into a text field. I am using insert into
and \n for newline. The MYSQL database is accessed by a MS Access front end
and the text field appears with a small square where the new line should be.
It appears that the \n is interpreted in Access differently.
Is there a way of putting a carriage return into the field so that it is
seen as such by Accesss?
Alex
Nov 13 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
rkc
Paradigm wrote:
I want to insert a carriage return into a text field. I am using insert into
and \n for newline. The MYSQL database is accessed by a MS Access front end
and the text field appears with a small square where the new line should be.
It appears that the \n is interpreted in Access differently.
Is there a way of putting a carriage return into the field so that it is
seen as such by Accesss?
Alex

Try \r\n. Windows likes to see a carriage return\linefeed combination.
Nov 13 '05 #2

P: n/a
Thanks that works.
Alex

"rkc" <rk*@rochester.yabba.dabba.do.rr.bomb> wrote in message
news:MX*********************@twister.nyroc.rr.com. ..
Paradigm wrote:
I want to insert a carriage return into a text field. I am using insert into and \n for newline. The MYSQL database is accessed by a MS Access front end and the text field appears with a small square where the new line should be. It appears that the \n is interpreted in Access differently.
Is there a way of putting a carriage return into the field so that it is
seen as such by Accesss?
Alex

Try \r\n. Windows likes to see a carriage return\linefeed combination.

Nov 13 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.