+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Forum Contributor
    Join Date
    05-26-2008
    Posts
    122

    Table query based on date

    Hey all

    I have list of multiple promotions with a start date and end date
    stored in a table thru a form. I then have a report that is generated to display all the entries

    I would like to generate the report in such a way that if the end date of the promotion has already passed, it wont show up in the report ?


    any help is greatly appreciated. Thanks !
    Last edited by manny_cb; 07-31-2009 at 12:03 PM.

  2. #2
    Forum Moderator ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2003 & 2010
    Posts
    1,797

    Re: Table query based on date

    Hi manny_cb,

    Assuming you have built a nice query from the table to feed the report, then all you need to do is add this:

    Code:
    	
    >=Date()
    as criteria for the end date field in the query.

    Cheers,
    Docendo discimus.

    Please consider:
    • Thanking those who helped you. Click the reputation icon in the contributor's post and add Reputation.
    • Cleaning up when you're done. Mark your thread [SOLVED] if you received your answer.

  3. #3
    Forum Contributor
    Join Date
    05-26-2008
    Posts
    122

    Re: Table query based on date

    Thanks. Thats exactly what i did. I based the report on a query with that criteria as opposed to a table and it worked

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.2.0