Results 1 to 8 of 8
  1. #1
    breakingme10 is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Jan 2014
    Location
    Oklahoma
    Posts
    153

    Access 2016 Default Value Issue


    I upgraded my office365 to 2016 thinking there may be some new features.. there's not and the only thing is now everywhere where i have a default value set for the date as in Date() i just get a ?Name# In the date field.

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,822
    This is the DefaultValue property?

    Interesting. Have you discovered a bug? Nothing we can do about bugs.

    Roll back to Office365?
    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.

  3. #3
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,716

  4. #4
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 8 Access 2013
    Join Date
    Aug 2013
    Posts
    7,862
    Shot in the dark but have you tried typing Date vs. Date() ?

    Where are the defaults set, table, form, macro?

  5. #5
    JamesDeckert is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Jul 2015
    Location
    Salina, KS
    Posts
    262
    Try typing ?date and ?date() in the immediate window to see if they're working ok.
    You could try hard coding a date as the default to see what happens.

  6. #6
    breakingme10 is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Jan 2014
    Location
    Oklahoma
    Posts
    153

    Thumbs down Screenshots & More Insight

    Quote Originally Posted by orange View Post
    That was very helpful!
    I tried looking at a default Desktop CallLog template and noticed it hadn't been updated, but i'll look at those 5 that have and see if i can find it.

    When I switched to my pc with access2013 still on it, the Default Value of Date() was still not working. I checked references and noticed that MS Office 15.0 Object Library wasn't checked. I checked it and the default of Date() began working again.

    Switched back to new access2016, still not working. checked references and now it has a reference for office 15.0 object library and 16.0 and won't let me uncheck either.

    I'm hoping the templates will help out.

    I've tried ?Date() in immediate window and it doesn't work.

    I've also tried using Date$() thinking maybe returning the value as a string would solve it, but it didn't.

    Here are some screenshots of it in my access 2013 not working
    Click image for larger version. 

Name:	default_date_asvar.PNG 
Views:	11 
Size:	54.9 KB 
ID:	22130Click image for larger version. 

Name:	default_date_err.PNG 
Views:	11 
Size:	57.8 KB 
ID:	22131

  7. #7
    breakingme10 is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Jan 2014
    Location
    Oklahoma
    Posts
    153
    Not exactly sure why, but still cannot remove MS Office 15.0 Object Library. But I uncheck 16.0 and then rechecked 16.0 and I guess it finally recognized it.
    The date is working fine now.
    Wish I had a more definitive answer but it seems that just unchecking the reference to 16.0 object library and hitting ok, and going back in and rechecking it solved the problem in 2016.


    Going back and trying to open in 2013 still throws error even though the MS Office 15.0 Object Library is referenced. I get the error #Name? in the field.
    Last edited by breakingme10; 09-23-2015 at 09:48 AM. Reason: 2013 Error

  8. #8
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,822
    Remove the = sign.

    ?Date()

    and

    ?Date

    both work in Access 2010
    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. What's new in Access 2016
    By pbaldy in forum Access
    Replies: 6
    Last Post: 09-28-2015, 12:41 PM
  2. Preview Access 2016 - Link to Download
    By ItsMe in forum Access
    Replies: 0
    Last Post: 06-21-2015, 07:07 AM
  3. Replies: 3
    Last Post: 08-15-2013, 03:26 PM
  4. How to set default value in Access
    By dododo in forum Access
    Replies: 4
    Last Post: 06-12-2013, 07:57 PM
  5. Replies: 2
    Last Post: 03-01-2013, 11:04 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