How do I use Superscript in Access text box

G

Guest

I need to enter superscript into a form textbox. I have tried cut-paste but
it does not work. I can bring it across as an image but not of course in a
text box. I don't want to have to redesign the database as everything else
works perfectly.
Thanks
 
K

Ken Snell \(MVP\)

Cannot be done with the regular textbox in ACCESS. You need to use a
rich-text control... ACCESS 2007 has this control, the other versions do
not. For the other versions, you need to use a third-part control -- e.g.,
see www.lebans.com site.
 
S

Stephen Lebans

Hi Ken,
alternatively, if it is a single line TextBox then the OP can render the
contents of the TextBox directly using the Print method of the Report
object. See:
http://www.lebans.com/baseline.htm
BaseLine.zip is a database containing functions allowing you to place
different size Fonts on the same BaseLine.
Also contains a Report demonstrating how to have the contents of one control
line up with the last row of another control that has CanGrown(n).

Use the GetTextMetrics API to calculate the Ascende/Descender for the Font.
--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 

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.

Ask a Question

Top