Results 1 to 3 of 3
  1. #1
    Brian62 is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Aug 2009
    Posts
    147

    Need report to show dates

    I am creating a report that needs to show the beginning and ending dates to show up on the report. (Access 2007)

    Example: The report shows dates between 1/01/08 through 11/12/09 (mulitiple records)
    The report heading would need to show: Annual Report Jan 2008 thru Oct 2009



    Is there a way that I can use the dates on the report from a query to give me what I need?

  2. #2
    Brian62 is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Aug 2009
    Posts
    147
    Here is the fix.

    Start: format([Start Date], "mmm yyyy")
    Finish: format([Finish Date], "mmm yyyy")

    Where Start and Finish Dates are your start and finish dates, if they originate on a form you will have to include the form name like this format(forms![FormName]![Start Date], "mmm yyyy")

  3. #3
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows XP Access 2002
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,906
    Good solution Brian. Thanks for sharing.
    (RG for short) aka Allan Bunch Previous MS Access MVP - WinXP Pro, Win7 Pro Win10 Pro - acXP, ac07, ac10, ac13
    How to mark the thread as Solved!
    Teaching is not filling a bucket but lighting a fire.
    Borrowed quote..."Docendo discimus"

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 3
    Last Post: 09-29-2009, 07:08 AM
  2. Replies: 2
    Last Post: 09-26-2009, 07:19 AM
  3. Replies: 5
    Last Post: 09-16-2009, 05:22 PM
  4. Due dates
    By Mehbastan in forum Queries
    Replies: 5
    Last Post: 08-14-2009, 08:37 AM
  5. show difference of amounts in a report
    By taniuca in forum Reports
    Replies: 0
    Last Post: 08-07-2008, 06:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums - Senior Forums