Results 1 to 5 of 5
  1. #1
    jonesy29847 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Mar 2010
    Location
    Detroit area
    Posts
    43

    Print preview with forms

    I have a form with controls to print reports, I am using print preview so I can select which printer to use. The results is the form gets printed, not the report.

    Thanks for your help.

  2. #2
    dsmacs is offline Advanced Beginner
    Windows XP Access 2010 (version 14.0)
    Join Date
    Oct 2009
    Location
    Perth Western Australia
    Posts
    52
    Post your code

  3. #3
    pdebaets is offline Competent Performer
    Windows Vista Access 2010 (version 14.0)
    Join Date
    Jul 2010
    Location
    Los Angeles
    Posts
    235
    Try this from a command button OnClick event procedure:

    DoCmd.OpenReport "MyReportName", acViewPreview

  4. #4
    jonesy29847 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Mar 2010
    Location
    Detroit area
    Posts
    43
    I'm using a macro.

    Open Report with the following parameters:
    Report Name, Print Preview, , , Normal

    The report is produced, but when I select print, and choose a printer, the form prints but not the report, even if the form has been closed.

    Thanks

  5. #5
    jonesy29847 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Mar 2010
    Location
    Detroit area
    Posts
    43
    pdebaets no joy, thanks for suggestion, I will explore you have given me some ideas...

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Report Preview
    By ColPat in forum Programming
    Replies: 2
    Last Post: 06-25-2010, 02:44 PM
  2. Can't see sub report in print preview
    By LoggyDoggy in forum Access
    Replies: 1
    Last Post: 04-20-2010, 05:38 PM
  3. Print Preview different from Print Hardcopy
    By peterc in forum Reports
    Replies: 4
    Last Post: 10-27-2009, 05:35 AM
  4. Replies: 6
    Last Post: 09-26-2009, 07:17 AM
  5. Error when trying to print or print preview
    By TriAdX in forum Reports
    Replies: 8
    Last Post: 08-25-2009, 08:20 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums