Results 1 to 3 of 3
  1. #1
    RunTime91 is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Dec 2014
    Posts
    284

    Using Format to set WeekDayName & MonthName

    Greetings Experts ~

    This is my first of what I'm sure will be many cries for help as I begin my transition from being an advanced Excel user (VBA; Forms; Pivots; Queries & Reports) to an Access novice.

    I am using Access 2013 on Windows 8.1 w/8 gigs.

    My book resources include:

    Access 'All-in-One' for Dummies and,
    Access 2013 Bible


    So, with that out of the way here is my first (very easy) question.


    I'm trying to use the Format field in table design view to set the WeekDayName & MonthName based on a date entered in another field.


    The field name where the date is entered is titled: RequestDate
    The field name where I want the WeekDayName is titled: RequestDay
    The field name where I want the MonthName is titled: RequestMonth

    My research suggested I input into the following into the respective table fields format field: "([RequestDate], "dddd")" or "([RequestDate], "mmmm")"

    Neither of these work and upon exiting the Format field they are autocorrected to: "([RequestDate], dddd)" or "([RequestDate], mmmm)"

    Any help would be greatly appreciated ~

  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
    53,772
    I've never seen that.

    I think you need to use Format() function but calculated field in table will not recognize it. Construct a field in query with expression or calculate in textbox on form/report.

    Format([RequestDate], "dddd")
    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
    RunTime91 is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Dec 2014
    Posts
    284
    Quote Originally Posted by June7 View Post
    I've never seen that.

    I think you need to use Format() function but calculated field in table will not recognize it. Construct a field in query with expression or calculate in textbox on form/report.

    Format([RequestDate], "dddd")
    June - Thank You so much for the quick response - You have saved me a lot time trying to figure this out. I'll put your idea's to work in both queries & textboxes as you suggest.

    Thank You again ~

    This thread is resolved

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

Similar Threads

  1. Replies: 0
    Last Post: 11-19-2014, 05:47 AM
  2. Replies: 3
    Last Post: 09-07-2013, 04:59 PM
  3. Replies: 4
    Last Post: 03-12-2013, 06:49 PM
  4. Number Format to General Format
    By mkc80 in forum Access
    Replies: 2
    Last Post: 05-05-2012, 02:10 AM
  5. WeekdayName equivalent in 2000
    By sunnybrook in forum Queries
    Replies: 8
    Last Post: 07-14-2010, 10:47 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