Results 1 to 2 of 2
  1. #1
    brownk is offline Advanced Beginner
    Windows 7 64bit Access 2003
    Join Date
    May 2012
    Location
    Evansville, IN
    Posts
    56

    Header expressions?

    How do you add expressions to a reports header? My report is called "Commercial Application Register". It is a report for the previous months applications. I would like it to say "Commercial Application Register For Month Of (Previous month/year).

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,895
    Use a textbox instead of label.

    Set ControlSource to:

    ="Commercial Application Register for Month Of " & [month/year]

    Trick is passing the month/year to the expression. Is this a value that is included in the RecordSource of the report? Other techniques are:

    1. reference to controls on form where user has entered the month and year criteria

    2. use OpenArgs argument of DoCmd.OpenReport to pass the string to report and then reference the OpenArgs to grab the value
    ="Commercial Application Register for Month Of " & [OpenArgs]
    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. Queries, Look-up, and Expressions
    By Atlascycle in forum Queries
    Replies: 22
    Last Post: 02-28-2012, 06:40 AM
  2. Repeat Expressions
    By welshmpf in forum Access
    Replies: 8
    Last Post: 09-06-2011, 09:41 AM
  3. Query Expressions
    By Andrea in forum Queries
    Replies: 6
    Last Post: 03-03-2011, 03:57 PM
  4. Nested If Expressions
    By Lynn in forum Forms
    Replies: 5
    Last Post: 03-25-2010, 10:11 AM
  5. Conditions / Expressions
    By Mark344 in forum Access
    Replies: 1
    Last Post: 02-19-2010, 08:15 AM

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