Results 1 to 4 of 4
  1. #1
    palumbo1987 is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Mar 2019
    Location
    Kentucky
    Posts
    2

    Calculated Field to calculate a value based on a set of dates

    Not sure if this is the right thread to post or not...



    The bottom line is I'm trying to figure out if can create a calculated field that automatically enters a pre-determined value based on a set of dates. For example, if the date of a specific record falls between October 1, 2018 and September 31, 2019, then the value would be listed as "FY19".

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,518
    You mean a table level calculated field? I doubt it, because it can't look at other tables, and presumably you have those dates and values in a table. On a form you could perform a lookup (DLookup or recordset). In a query you could use a non-equi join between the tables.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    palumbo1987 is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Mar 2019
    Location
    Kentucky
    Posts
    2
    Thanks for the help!

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,518
    No problem, post back if you're still stuck. Welcome to the site by the way!
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Replies: 1
    Last Post: 05-22-2017, 05:59 AM
  2. Replies: 6
    Last Post: 12-08-2016, 02:44 PM
  3. Replies: 8
    Last Post: 03-30-2012, 06:05 AM
  4. Setting up a calculated field for dates
    By JoshD in forum Queries
    Replies: 3
    Last Post: 03-04-2011, 11:59 PM
  5. Calculate one field based on another one
    By Douglasrac in forum Forms
    Replies: 7
    Last Post: 11-18-2010, 01:30 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