Hi All
I've created a report style that I've used in all my reports (called prince). I'm really happy with it's lay out an style etc., in the preview mode in access. I've just added a button to print our the report the file, but most of the formating is lost. The code I've used is:
All my fancy colours and pictures have gone - has any one solved this type of problem or know how to?
Thanks
Lex
I've created a report style that I've used in all my reports (called prince). I'm really happy with it's lay out an style etc., in the preview mode in access. I've just added a button to print our the report the file, but most of the formating is lost. The code I've used is:
Code:
Private Sub Statistics_Click()
On Error GoTo Err_Statistics_Click
Dim stDocName As String
stDocName = "Numeracy Statistics"
DoCmd.OutputTo acReport, stDocName, acFormatRTF, "Stats.rtf"
Exit_Statistics_Click:
Exit Sub
Err_Statistics_Click:
MsgBox Err.Description
Resume Exit_Statistics_Click
End Sub
Thanks
Lex