Results 1 to 2 of 2
  1. #1
    Lissa is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2015
    Posts
    1

    Post Access 2010 Report header with date citeria

    I have created a report and I am using the following for the report header... A "Text Box" with this code for the control source:

    ="Credit Memo Log " & Format$(DateAdd("m",-1,Now()),"mmmm"", 2015 """). I run the report at monthend. That is why I am using

    -1 because it is the next month when I run report. However, I would like to use the date criteria in one of my defined fields cmMonth so that I know I will



    always have the correct month on the report header whether I run it current month or next month.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Is cmMonth not a full date value - just a month? Is it number (8) or text (August)?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 15
    Last Post: 03-02-2014, 05:15 PM
  2. Replies: 5
    Last Post: 12-23-2013, 04:29 PM
  3. Changing Font in Access Report Header
    By ZLHysong in forum Access
    Replies: 1
    Last Post: 02-01-2013, 03:17 PM
  4. Replies: 6
    Last Post: 08-07-2012, 03:25 PM
  5. Replies: 32
    Last Post: 06-20-2011, 07:30 PM

Tags for this Thread

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