History Data in Access 2003 Report

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ElTipo
    New Member
    • Jul 2007
    • 36

    History Data in Access 2003 Report

    Hello People,

    I need some help,

    I need to know how I made a report with old data like a history data. For example if you need to see anual data from 1/1/06 to 12/31/06 for any amounts. If any know a site for reports examples please let me know.

    Thanks!!
  • jaxjagfan
    Recognized Expert Contributor
    • Dec 2007
    • 254

    #2
    Originally posted by ElTipo
    Hello People,

    I need some help,

    I need to know how I made a report with old data like a history data. For example if you need to see anual data from 1/1/06 to 12/31/06 for any amounts. If any know a site for reports examples please let me know.

    Thanks!!
    Within the criteria of your reports datasource you need to use BETWEEN.

    If the report is based on a query the sql would look something like this:

    Code:
    Select qryHistoryRpt.* WHERE qryHistoryRpt.MyDate BETWEEN #1/1/2006# AND #12/31/2006#

    Comment

    Working...