Reducing font size according to textbox content ?

J

jm.almeras

Hello !
With Access 2000, i have a report which displays a person name and adress,
to be printed on very small adhesive labels, so that the maximum size of the
report is fixed.
Sometimes, the member name and adress is very big so that the whole text is
not displayed within the textbox. I would like to decrease font size when
this happens
I have tried to program this within the format event of the report detail
section, but i am getting nowhere. I do not manage to identify when the text
is too big (i hoped that by setting the extensibility property of the text
box, i would read the height and notice that the height is more than what
should be allowed, etc.).
Can anyone help me ?
thank you
Jean-Marie
 
J

John Spencer

You might take a look at
http://www.lebans.com/autosizefont.htm
It says it is for forms, but it might work on reports also.

If not, browse Stephen Lebans' site. He probably has some example that will
do what you want.


John Spencer
Access MVP 2002-2005, 2007-2008
The Hilltop Institute
University of Maryland Baltimore County
 
J

jm.almeras

Yes, apparently the answer is there
Thank you !

John Spencer said:
You might take a look at
http://www.lebans.com/autosizefont.htm
It says it is for forms, but it might work on reports also.

If not, browse Stephen Lebans' site. He probably has some example that
will do what you want.


John Spencer
Access MVP 2002-2005, 2007-2008
The Hilltop Institute
University of Maryland Baltimore County
 

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