Report.Print Method (1 Viewer)

Supertension

New member
Local time
Today, 23:02
Joined
Dec 16, 2015
Messages
13
Hi, I'm using the report drawing methods when the detail section of a report formats (see Access ReportDraw (msaccessgurus.com) for an excellent reference). I'm drawing some geometric shapes and labeling them with some text. I have a problem with the Report.Print method and can't get it to print unicode characters using ChrW. A '?' is returned instead of the character I want. Some examples of what works and what doesn't work are below. Can anyone help?

Me.Print "Test wording" 'Works ok
Me.Print "ASCII degree symbol, " & Chr(176) 'Works ok

Me.Print "Lower case unicode alpha, " & ChrW(945) 'Prints a '?' for the symbol
Me.Print "Lower case unicode lambda, " & ChrW(955) 'Prints a '?' for the symbol

A work around is to add labels into the report and move them around when the report formats but this makes my coding more complex. Thank you.
 
thanks, Colin @isladogs

@Supertension the Print method doesn't work with Unicode. However, you can specify FontName="Symbol" for "a" to get "α" and "l" to get "λ"

Glad you like my reference page ;) I use it a lot too
 

Users who are viewing this thread

Back
Top Bottom