Welcome to SPN

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

Sign Up Now!
  1. Guest ji, please consider donating today!
      Become a Supporter    ::   Make a Contribution   
    Monthly Recurring Target: $300 :: Achieved: $95

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.)
     
Since you're here... we have a small favor to ask...

More people are visiting & reading SPN than ever but far fewer are paying to sustain it. Advertising revenues across the online media have fallen fast. So you can see why we need to ask for your help. Donating to SPN's is vote for free speech, for diversity of opinions, for the right of the people to stand up to religious bigotry. Without any affiliation to any organization, this constant struggle takes a lot of hard work to sustain as we entirely depend on the contributions of our esteemed writers/readers. We do it because we believe our perspective matters – because it might well be your perspective, too... Fund our efforts and together we can keep the world informed about the real Sikh Sikhi Sikhism. If everyone who writes or reads our content, who likes it, helps us to pay for it, our future would be much more secure. Every Contribution Matters, Contribute Generously!

    Become a Supporter      ::     Make a Contribution     



Share This Page