Does Access 2003 allow text shrink-to-fit in a CanGrow=No Text Box

G

Guest

I have an application that is printing labels (x number to a page).
I need to constrain varying length label data to a specific area without
truncation and a limited amount of text wrap.
Preferable, the text needs to shrink if it is too long to fit in a
constrained Text Box.
 
T

Terry

Hi,

Have a look at www.lebans.com he has some pretty nifty
stuff for fitting text into a control.

Alternatively something like :
if len([your text])> 25 then ' or whatever fits unaltered
[yourtextbox].fontsize = 10 ' or whatever size
end if

The syntax is off the top of my head so will probably need
some fixing. This code can go in the Section's "on Format"
event.

HTH

Terry
 

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