Tab character does not work in textbox on report

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to format a long string by inserting either a tab character
(vbTab) or a new line character (vbNewLine), depending on data. The string is
in a Variant type variable. When formatting is done, the result is assigned
to a textbox on a report.
The new line character works well, but the tab character displays as a box.
Any ideas?
Thanks in advance.
 
Ori said:
I am trying to format a long string by inserting either a tab
character (vbTab) or a new line character (vbNewLine), depending on
data. The string is in a Variant type variable. When formatting is
done, the result is assigned to a textbox on a report.
The new line character works well, but the tab character displays as
a box. Any ideas?
Thanks in advance.

Standard Access controls will not recognize a tab character. About all you can
do is use a mono-spaced font and insert spaces. Otherwise you have to go to an
RTF ActiveX control which would be extreme overkill just to achieve tabs.
 
Back
Top