Results 1 to 3 of 3
  1. #1
    drex is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Apr 2014
    Posts
    14

    Combine two Expressions into one?

    Can someone tell me how I can combine both expressions in one for a query? I tried commas and brackets without avail.

    Expr1: Replace([ITSM Start Date_Time]![Start Time],"T"," ")

    Expr2: Left([ITSM Start Date_Time]![Start Time],Len([ITSM Start Date_Time]![Start Time])-14)


    Here is the original data I am trying to convert.
    Start Time
    2014-01-15T08:56:00.0000000-00:00


    Thanks,

  2. #2
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    Try replacing both instances of [ITSM Start Date_Time]![Start Time] in your second expression with the formula from your first expression.

  3. #3
    drex is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Apr 2014
    Posts
    14
    This worked. Thank you!


    Expr1: Left(Replace([ITSM Start Date_Time]![Start Time],"T"," "),Len(Replace([ITSM Start Date_Time]![Start Time],"T"," "))-14)

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

Similar Threads

  1. Complicated Expressions
    By L52P in forum Access
    Replies: 1
    Last Post: 10-20-2013, 01:13 AM
  2. Expressions in Form
    By Deb4566 in forum Access
    Replies: 7
    Last Post: 03-08-2013, 12:18 PM
  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

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