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!

printing a report from a access.mde

Status
Not open for further replies.

kingz2000

Programmer
May 28, 2002
304
DE

Hi,

short question: I've compiled an mde file which produces a report. Unfortunately, the 'printing' option is not visible in the menu bar. How do I make the report printable?

Thanks in advance.

Kingsley
 
You could add a custom button with a function:

Code:
Function PrintButton()
'This is for the menu, to allow the user to choose
'print options.

On Error GoTo HandleErr
    
    DoCmd.RunCommand acCmdPrint
    
Exit_Sub:
    Exit Function
    
HandleErr:
    Select Case Err.Number
        Case 2501 'User cancelled
            Err.Clear
            Resume Exit_Sub
        Case Else
            MsgBox Err.Description
    End Select
End Function
 
yeah, I just used the report assistant to create a print button in the end...thanx..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top