Results 1 to 3 of 3
  1. #1
    Aldersgate is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Jan 2011
    Posts
    1

    Simple month fieldq

    Seems so simple, but can't figure out how to create a field that will simply show the month and can be sorted by month. Tried numbers, tried text, looked all over internet; all complex answers. Help!

  2. #2
    NTC is offline VIP
    Windows Vista Access 2007
    Join Date
    Nov 2009
    Posts
    2,392
    make a query of your table and when in design view after add fields you want, then create a new calculated field:e.g.
    MonthName: Month([YourDateFieldNameHere])

    then you can set it to sort this column

    hope this helps.

  3. #3
    SoftwareMatters is offline Access VBA Developers
    Windows XP Access 2003
    Join Date
    Mar 2009
    Location
    Dorset
    Posts
    274
    You could create a seperate table called Months with 2 fields ID and Month as follows:

    MonthID = Number
    MonthDesc = Text

    Data in the table as follows:

    ID, Month
    1 January
    2 February
    3 March
    etc, etc

    Then you can sort on the ID field and link to the table to choose the month.

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

Similar Threads

  1. First Day of Next Month
    By swalsh84 in forum Programming
    Replies: 6
    Last Post: 01-14-2011, 12:29 PM
  2. Replies: 5
    Last Post: 11-15-2010, 06:12 PM
  3. Replies: 0
    Last Post: 10-21-2010, 08:24 AM
  4. Simple Export Not So Simple
    By jgelpi16 in forum Programming
    Replies: 11
    Last Post: 09-01-2010, 07:23 AM
  5. Simple Report by Month
    By leejqs in forum Reports
    Replies: 3
    Last Post: 07-15-2009, 09:24 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