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!

Problem w/FontBold Prop

Status
Not open for further replies.

MAPetry

Technical User
Aug 2, 2000
43
0
0
US
I have a report that I want certain field to print bold. I created this yesterday and It worked fine report previewed and printed great. Today someone prints out and all is printing in bold. The preview looks corect. and it prints correct to the ink jet printer. but for some reason(???) it no longer prints to the HP laser printer in bold / normal font weights. Has anyone else had this problem???

I would think that it was a programming problem except that it worker fine yesterday and nothing has changed.


Here is code I have:
Private Sub Detail_Format(Cancel As Integer, PrintCount As Integer)

If Me![DateSentDraw] >= Me![DateReqDraw] Then
Me![Company].FontWeight = (200)
Me![Contact].FontWeight = (200)
Me![Phone].FontWeight = (200)
Me![DateSentDraw].FontWeight = (200)
Me![DateReqDraw].FontWeight = (200)
Else: Me![Company].FontWeight = (800)
Me![Company].FontWeight = (800)
Me![Contact].FontWeight = (800)
Me![Phone].FontWeight = (800)
Me![DateSentDraw].FontWeight = (800)
Me![DateReqDraw].FontWeight = (800)

End If
End Sub

This is really stumping me.
Hope someone out there can help
Thanks Mary Ann Petry

 
MY version of MS. Access uses 'text' to set the font weight, as in:

["Extra Light" | "Light" | "Normal" | "Semi-Bold" | "Bold" | "ExtraBold" | "Extr Bold| | "Heavy"]
MichaelRed
redmsp@erols.com

There is never time to do it right but there is always time to do it over
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top