Access 2007 supports rich text in memo fields, so you can use tab characters
in the newest version.
In older versions, you cannot embed a tab character in the text. The nearest
you can do is to trap the character in the KeyDown event of the text box,
and substitute 4(?) spaces in the Text.
Use SelStart and SelLen to get back to the right place. Unfortunately, this
doesn't work with more than 32k characters in the field.
I'm using Access 2007. How do you enable the "Tab" key in the memo field. I
don't see an option for it. When I press the tab key, the cursor moves to
the next field instead of moving within the memo field
--
Thanks
David Davis
Allen Browne said:
Access 2007 supports rich text in memo fields, so you can use tab characters
in the newest version.
In older versions, you cannot embed a tab character in the text. The nearest
you can do is to trap the character in the KeyDown event of the text box,
and substitute 4(?) spaces in the Text.
Use SelStart and SelLen to get back to the right place. Unfortunately, this
doesn't work with more than 32k characters in the field.
Hmm: just trying this Dave, and the tab does not seem to work.
FYI, the idea was to set the Text Format property of the memo field in the
table to:
Rich Text
But what A2007 calls rich text is actually HTML, and it seems there is no
tab character in HTML. Therefore the suggestion I gave you will not work.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.