Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

subreports

Discussion in 'Information Technology' started by tswain, Jul 28, 2006.

Tags:
  1. tswain

    tswain
    Expand Collapse
    Guest

    I have 10 subreports inside the main report. When I open the report it ask
    me to enter the paramenter information for each subreport - which is
    repetitive. What can I do to limit the times I have to enter the paramenter
    information? (The subreport are individual reports from queries which
    prompts me to enter the begining and end dates to search for information
    during that time frame.)
     
  2. Allen Browne

    Allen Browne
    Expand Collapse
    Guest

    Create a form with some unbound controls where you can enter the limiting
    values. Then in the query of each subreport, refer to the controls on the
    form.

    For example, if you want to limit the subreports to a particular city, you
    would type this into the Critieria under the City field in your queries:
    [Forms].[Form1].[txtCity]
    where "Form1" is the name of the form, and "txtCity" is the name of the text
    box on the form.

    Provided the form is open, the subreports will all read the value from the
    text box instead of continually asking you for the value.

    --
    Allen Browne - Microsoft MVP. Perth, Western Australia.
    Tips for Access users - http://allenbrowne.com/tips.html
    Reply to group, rather than allenbrowne at mvps dot org.

    "tswain" <tswain@discussions.microsoft.com> wrote in message
    news:514C5180-48D5-4EA7-94C8-0BCB7BDA856B@microsoft.com...
    >I have 10 subreports inside the main report. When I open the report it
    >ask
    > me to enter the paramenter information for each subreport - which is
    > repetitive. What can I do to limit the times I have to enter the
    > paramenter
    > information? (The subreport are individual reports from queries which
    > prompts me to enter the begining and end dates to search for information
    > during that time frame.)
     

Share This Page