Preserve Linebreaks to HTML E-mail (1 Viewer)

accessNator

Registered User.
Local time
Today, 12:00
Joined
Oct 17, 2008
Messages
132
I have a textbox which I allow the User to enter text. Kinda of like an area where it keeps a log activity.

By pressing CTL + ENTER, it will give a LINE BREAK in the text box, which is great.

But if I want to pass the multiline text to an e-mail and/or insert it into a database, how do I preserve the LINE BREAKS from the text box?

Thoughts?
 

spikepl

Eledittingent Beliped
Local time
Today, 19:00
Joined
Nov 3, 2010
Messages
6,142
Set the Text Format property of the TextBox to Rich Text. Likewise with the corresponding text field in the table where the data is saved.
 

accessNator

Registered User.
Local time
Today, 12:00
Joined
Oct 17, 2008
Messages
132
That worked! Appreciate the quick response.
 

Users who are viewing this thread

Top Bottom