Results 1 to 10 of 10
  1. #1
    RedGoneWILD is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Jun 2010
    Posts
    105

    only prints the same query - no matter what i have open

    what have i done wrong? reports were printing just fine, but now no matter what report i have open, when i go to print it keeps printing the same query, not even a report.



    Even when I close the database, and restart it, i still get the same query. What setting in VBA did I alter to cause it to do this. Please help!

  2. #2
    weekend00 is offline I may not be right
    Windows XP Access 2003
    Join Date
    Aug 2010
    Posts
    1,295
    delete the query then try again. Before deleting, save it somewhere. But don't just rename.

  3. #3
    RedGoneWILD is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Jun 2010
    Posts
    105
    any idea what caused it so i can prevent it from happening again?

  4. #4
    weekend00 is offline I may not be right
    Windows XP Access 2003
    Join Date
    Aug 2010
    Posts
    1,295
    I don't know yet, just delete the query to find out the reason.

  5. #5
    RedGoneWILD is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Jun 2010
    Posts
    105
    ok, i have a reports form with a list of reports. I can open the reports with a button from this form. The form stays open and the report opens up as well. When I try to print, it will print anything but the report...such as a query or the form.

    But when everything else is closed, and I open the report manually from the navigation pane, then it prints fine

    what vba code do i need to get this to print the open report? do i need to set focus to the report? do i need to close the form that opened the report?

  6. #6
    weekend00 is offline I may not be right
    Windows XP Access 2003
    Join Date
    Aug 2010
    Posts
    1,295
    how did you release the print job for the report? By VBA code? from menu of the report?

    when you choose from the print menu of the report, of couse the focus is on the report.

    Maybe you tried to print the report from Access main window's menu?

  7. #7
    RedGoneWILD is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Jun 2010
    Posts
    105
    yeah, i selected the circle in the upper left hand corner?

    whats the best way to print a report?

  8. #8
    weekend00 is offline I may not be right
    Windows XP Access 2003
    Join Date
    Aug 2010
    Posts
    1,295
    Right click on the the report, choose print.

  9. #9
    RedGoneWILD is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Jun 2010
    Posts
    105
    okay, but is there a way to just set the print focus to the open report instead? It's so much easier to go to the top and select print....right clicking only brings up print preview, then you have to right click again to print

  10. #10
    weekend00 is offline I may not be right
    Windows XP Access 2003
    Join Date
    Aug 2010
    Posts
    1,295
    I got you.
    you want to print a report without opening it.

    right click on the report's name, there is a "print" option as sell as "print preview".

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

Similar Threads

  1. Replies: 5
    Last Post: 08-10-2010, 02:57 PM
  2. Open Query from another database
    By thestappa in forum Programming
    Replies: 2
    Last Post: 07-23-2010, 08:45 AM
  3. Does it Matter? Pulling fields in a query
    By Canadiangal in forum Access
    Replies: 1
    Last Post: 10-01-2009, 01:53 AM
  4. Report Prints Out Before Previewing
    By Schwagr in forum Reports
    Replies: 2
    Last Post: 03-18-2006, 02:15 PM
  5. report prints blank page at end of report
    By darrellx in forum Forms
    Replies: 0
    Last Post: 03-14-2006, 08:51 PM

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