AJParkinson
Technical User
Can anybody give me any clues as to how to stop my '£' symbol being converted to 'œ' when I output my report to a text file? If I alter the code to view the report on screen, the report displays the £ symbol ok, yet if I let the code run through and generate the text file and open it in notepad I get the œ symbol.
I can type the £ symbol immediately before or after the œ within the generated text file in notepad without problem, so I'm sure it's not a fonts related problem on my pc.
(The text file that is output to the directory must have the .spl extension as a 'watcher' service is running on the server waiting for particularly named files to automatically run them through another program.)
Many thanks in advance
I can type the £ symbol immediately before or after the œ within the generated text file in notepad without problem, so I'm sure it's not a fonts related problem on my pc.
(The text file that is output to the directory must have the .spl extension as a 'watcher' service is running on the server waiting for particularly named files to automatically run them through another program.)
Code:
[COLOR=blue][B]
Private Sub cmdPrintDesp_Click()
Dim stDocName As String
Dim stDirectory As String
pr_Desp_Note = Me.order_no.Value
stDocName = "pr_Desp_Note"
stDirectory = "\\Server\directory\textfile.spl"
DoCmd.OutputTo acReport, stDocName, , stDirectory, No
End Sub
[/B][/color]
Many thanks in advance