Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change font size in a report field based on drop down

Status
Not open for further replies.

tedmillerx

Programmer
Jan 6, 2001
52
US
I want to offer the user the ability to change font size in a number of report fields based on the font size selected in a form drop down menu.

For instance, when the user selects "Large font", it will convert all fonts in a report to 14 point. "Regular font" makes it 12 points. "Small font" makes it 10 points.

Obviously, I could just make three reports, but it's clumsy and I've got 120 reports to do this to (I don't want to build 360 total reports!)

Can someone suggest the code I would use for the report fields to make the font dynamic? I've looked around here and Access Other and can't find anything.

Thanks!
 
on reportopen

me.controlname.fontsize = forms!formname!controlname

make combox 2 columns

columns width 0";3"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top