Welcome to SPN

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

Sign Up Now!
  1.   Become a Supporter    ::   Make a Contribution   
    Target (Recurring Monthly): $200 :: Achieved: $98

Between 2 dates

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

Tags:
  1. Jamie

    Jamie
    Expand Collapse
    Guest

    I have a report set up with multiple subreports inside. I would like the user
    to be able to enter in a start date and an end date and for the report to
    show data only from that time period. Because I have multiple subreports when
    I ask for a start and end date the database requires the user to enter a date
    for each subreport. I only want them to have to enter in a date once. Any
    suggestions.
     
  2. Loading...

    Similar Threads Forum Date
    How Did Sikh Heritage Become Hostage To Hostilities Between India And Pakistan? Hard Talk Jun 26, 2016
    Is There A Thin Line Between Love And Hate? Interfaith Dialogues Apr 25, 2016
    what happened in between Blogs Oct 16, 2015
    Sikh Marriage Between Man & Woman Sikh Sikhi Sikhism Jul 1, 2015
    Difference between us and the Gurus? Sikh Sikhi Sikhism Dec 25, 2014

  3. Jeff C

    Jeff C
    Expand Collapse
    Guest

    Assuming you have a text box on your form for each date, go to the query you
    are using as the record source for your form/report and in the date criteria
    field:

    Between [forms]![Myform]![txtboxbegin] AND [forms]![Myform]![txtboxend]
    --
    Jeff C
    Live Well .. Be Happy In All You Do


    "Jamie" wrote:

    > I have a report set up with multiple subreports inside. I would like the user
    > to be able to enter in a start date and an end date and for the report to
    > show data only from that time period. Because I have multiple subreports when
    > I ask for a start and end date the database requires the user to enter a date
    > for each subreport. I only want them to have to enter in a date once. Any
    > suggestions.
     
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