Results 1 to 5 of 5
  1. #1
    TimC is offline Advanced Beginner
    Windows XP Access 2010 32bit
    Join Date
    Oct 2012
    Posts
    34

    Date Expressions

    I have a query that includes several short date (6/19/2007)fields. How do I create a field withinthe query that only reads the year of the short date? Please be detailed in your response as I am a beginner. Thanks.



    Tim


  2. #2
    amrut is offline Expert
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2012
    Location
    India
    Posts
    616
    Year(YourDateField)

  3. #3
    TimC is offline Advanced Beginner
    Windows XP Access 2010 32bit
    Join Date
    Oct 2012
    Posts
    34
    Quote Originally Posted by amrut View Post
    Year(YourDateField)
    Could you be a little more specific? where does year(DOI) go? Expression builder? Criteria line? Thanks.

  4. #4
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    Yes, use the Expression Builder in your Query to build this calculated field.

    If you need more help, try doing a Google Search on "Creating Calculated Fields in Access Queries". You will find lots of tutorials and YouTube videos showing you how to create Calculated Fields in Queries.

  5. #5
    amrut is offline Expert
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2012
    Location
    India
    Posts
    616
    a new field in queryClick image for larger version. 

Name:	screen.jpg 
Views:	6 
Size:	22.0 KB 
ID:	19203

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

Similar Threads

  1. If Then Expressions?
    By FoxMan250 in forum Access
    Replies: 34
    Last Post: 05-08-2014, 12:30 PM
  2. Combine two Expressions into one?
    By drex in forum Queries
    Replies: 2
    Last Post: 04-08-2014, 08:51 AM
  3. Delimiter expressions
    By kjcochran in forum Queries
    Replies: 3
    Last Post: 06-16-2013, 06:45 AM
  4. Grouping Expressions
    By GraeagleBill in forum Reports
    Replies: 5
    Last Post: 05-10-2013, 05:58 PM
  5. Query Expressions
    By Andrea in forum Queries
    Replies: 6
    Last Post: 03-03-2011, 03:57 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