dbTalk Databases Forums  

Change font for report control using VBA and MDE

comp.databases.ms-access comp.databases.ms-access


Discuss Change font for report control using VBA and MDE in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Karl
 
Posts: n/a

Default Change font for report control using VBA and MDE - 10-19-2010 , 04:26 PM






Using A2000. Is there a way to change the font for a report control
using VBA and and MDE?

One of the controls on the report prints a Micr line and the font may
need to be changed to a wide or narrow variation of the MICR font
depending on the users printer.

Reply With Quote
  #2  
Old   
Douglas J Steele
 
Posts: n/a

Default Re: Change font for report control using VBA and MDE - 10-19-2010 , 05:36 PM






Pretty sure you can simply use
Reports![NameOfReport]![NameOfControl].FontName = "name of font"


"Karl" <karl3200 (AT) gmail (DOT) com> wrote

Quote:
Using A2000. Is there a way to change the font for a report control
using VBA and and MDE?

One of the controls on the report prints a Micr line and the font may
need to be changed to a wide or narrow variation of the MICR font
depending on the users printer.

Reply With Quote
  #3  
Old   
Marshall Barton
 
Posts: n/a

Default Re: Change font for report control using VBA and MDE - 10-19-2010 , 11:01 PM



Karl wrote:

Quote:
Using A2000. Is there a way to change the font for a report control
using VBA and and MDE?

One of the controls on the report prints a Micr line and the font may
need to be changed to a wide or narrow variation of the MICR font
depending on the users printer.
You can use code in the control's section's Format event
procedure.

--
Marsh

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.