Results 1 to 4 of 4
  1. #1
    uaguy3005 is offline Advanced Beginner
    Windows 7 64bit Access 2013
    Join Date
    Mar 2010
    Posts
    45

    Closing a parameter form on Report Load

    I have a sub-form I use to pass parameters to a couple of queries that generate some data that I show on a chart in an access report. The problem I have is that I when I close the sub-form I used to pass the parameters, then when I try to print the report it prompts me for the dates I passed again. So how do I get the report to stay open, be able to print it without it trying to re query?

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    To the best of my knowledge the report will always try to requery when you print it. You can close the form in the report's close event rather than the load event.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    uaguy3005 is offline Advanced Beginner
    Windows 7 64bit Access 2013
    Join Date
    Mar 2010
    Posts
    45
    So how would I hide the subform then until the close event?

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    You can set its Visible property to False.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Parameter prompts when subforms load
    By jzacharias in forum Forms
    Replies: 2
    Last Post: 06-30-2015, 01:42 PM
  2. Closing gaps in a form or report.
    By SonyaEnz in forum Forms
    Replies: 3
    Last Post: 04-16-2015, 10:13 AM
  3. load form based on report
    By bigmac in forum Reports
    Replies: 1
    Last Post: 05-01-2012, 09:33 AM
  4. Replies: 3
    Last Post: 11-18-2011, 10:05 AM
  5. Load Record from report in form
    By rdirosato in forum Reports
    Replies: 13
    Last Post: 03-08-2010, 10:35 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