Text Formatting Control

  • Thread starter Thread starter Greg C
  • Start date Start date
G

Greg C

Hi All,

I have a large text field. The data is formatted with tabs and carriage returns. In a standard text box, these do not have the intended effect and instead show-up as garbage ascii characters.

What control should I use to show formatted results?

TIA!
Greg C
APS
 
In Access, a new line is the combination of CarriageReturn plus LineFeed, so
you could handle those by inserting a LineFeed character after the Carriage
return or replacing the CarriageReturn character with a "vbLineFeed" or
"vbCrLf" builtin constant.

You might have to use a Rich Text Box to get the spacing for Tab controls.
There's a free one at MVP Stephen Lebans' site, http://www.lebans.com.

Larry Linson
Microsoft Access MVP


Hi All,

I have a large text field. The data is formatted with tabs and carriage
returns. In a standard text box, these do not have the intended effect and
instead show-up as garbage ascii characters.

What control should I use to show formatted results?

TIA!
Greg C
APS
 
Back
Top