Results 1 to 5 of 5
  1. #1
    johnseito is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2013
    Posts
    419

    Anyone know what is wrong here, Mid (TimeNow, 11, 5) as TimNOW

    I seem to be using the Mid function correctly because I have used it the way I am using it in the past which has worked, however I am getting an
    error message this time and I don't know why.

    Error message is
    undefined function "MID" in expression
    .
    Could it be some setting I have in access that doesn't have some properties check off to use access's build in function?

    Even if I correct Mid (TimeNow, 11, 5) to Mid (now (), 11, 5)
    The same error occurs.




    Code:
    SELECT now ()  as TimeNow, len(now()) as Length_ofTime, Mid (TimeNow, 11, 5) as TimNOW

  2. #2
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,530
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    johnseito is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2013
    Posts
    419
    Ok, thanks buddy. I see what happen.

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,971
    So is this solved?
    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.

  5. #5
    johnseito is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2013
    Posts
    419
    Yup, apparently access 2010, my version was looking for something in access 2007 and can't find it so that was the error and so I have to un-check the setting where is say Missing something from access 2007.

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

Similar Threads

  1. What's wrong!
    By khalid in forum Programming
    Replies: 15
    Last Post: 06-27-2011, 06:38 AM
  2. What is wrong with this IFF?
    By bburton in forum Reports
    Replies: 2
    Last Post: 03-16-2011, 10:42 AM
  3. What is wrong with my listbox?
    By Buakaw in forum Access
    Replies: 4
    Last Post: 02-21-2011, 03:08 PM
  4. What's wrong with this filter?
    By jgelpi16 in forum Queries
    Replies: 4
    Last Post: 02-21-2011, 12:58 PM
  5. What am I doing wrong?
    By brandon in forum Access
    Replies: 2
    Last Post: 08-03-2008, 10:26 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