Display tab character from memo field to report correctly.

I'm using Access 2003.  I have a table with a memo field in which the user perform data entry by copying and pasting from Word documents.  I created a report to display the memo field but special characters such as tabs are displayed on the report as a small box.  

How can I make the report NOT display the box and actually show empty spaces represented by the tab?

p.s. This is urgent so if I can get any solution today, I will grade with A
LT012345Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jim HornMicrosoft SQL Server Developer, Architect, and AuthorCommented:
You will need a Microsoft RichTextBox control instead of a textbox.  
In Access RichTextBox is not one of the standard controls in the toolbox, so you'll have to click on the 'More Controls' button and scroll down.
0
thenelsonCommented:
You can put this in the control source property of the textbox (be sure the name of the textbox is different from the field).
=Replace([YourFieldNameHere], Chr(9), Spaces(5))
Chr(9) is the tab character,  Change the 5 to the number of spaces you want to replace the tab character with.  This will not change the memo field.  It will only change the display of the memo field in the form (or report)

To change the memo field itself, use an update query like this:
Update YourTableNameHere Set YourFieldNameHere = Replace([YourFieldNameHere], Chr(9), Spaces(5));
This will go through the table and change every record.  Be sure to backup your database before running it!!!!
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
LT012345Author Commented:
jimhorn:

When I tried to drop the Microsoft RichText Box control, Access won't let me, saying it doesn't support this type of control.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.