fonts and formatting

ssh

Registered User.
Local time
Today, 20:00
Joined
May 22, 2002
Messages
49
I'm managing a font database and want some kind of report. The question is how to format records with fonts found in database? All the fonts are installed to system. Thanks.
 
Hi ssh,

you can formate the fields of ur report in the design view of the report while u programm the report: click the field, open the context menu, "properties", "fomate". There u can change font, color,....


HTH,
Barbarossa II
 
If you have a listing of the font names in the db then you can use On Format of the detail section:


Code:
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)

Me.FontNameStored.FontName = Me.FontNameStored

End Sub


Where FontNameStored is the name of the text box on the report with appropriate control source.

HTH

Brad.
 
Works somehow. But report shows only 2 first pages and then 'run-time error 2101: the setting you entered isn't valid for this property'. And fields are selectively shown in appropriate font, most fields are in default box font. Thinked it should have been easy but not.
 

Users who are viewing this thread

Back
Top Bottom