Results 1 to 3 of 3
  1. #1
    kkyork is offline Novice
    Windows XP Access 2010 64bit
    Join Date
    May 2012
    Posts
    7

    Append Query

    I was wondering if it was possible to run an append query to add the day of the week to a table which already contains a date. In other words, my table has dates in January through May and I'd like to add a column which lets me know what day of the week that specific date is (Mon, Tues, etc). Let me know if you have any ideas.



    Thanks!

  2. #2
    Robeen is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    Mar 2011
    Location
    Tulsa, Oklahoma.
    Posts
    1,596
    Does it HAVE to be an append query?

    You don't HAVE to actually add that one field to the Table - you can just create a query with all the fields from the Table PLUS an extra field that tells you the day of week for each date.
    You can then use the query in pretty much the same way as you would use a Table [since they are both'data sources'].

    Then, if you really need to - you can turn the query into an append query.

    Let me know how you want to proceed.

  3. #3
    Robeen is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    Mar 2011
    Location
    Tulsa, Oklahoma.
    Posts
    1,596
    In your query, in Design View, add a field like this:
    Code:
    DayOfWeek: WeekdayName(Weekday(Your_Date_Field))
    Again . . . if the query gives you the results you need - you can always convert it to an Append Query to write the data to a Table.
    BUT . . . you don't HAVE to put a derived [calculated] value into your table when your query will provide it for you whenever you need.

    Hope this works for you.

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

Similar Threads

  1. Append Query?
    By kwooten in forum Queries
    Replies: 27
    Last Post: 10-19-2011, 10:06 AM
  2. Replies: 1
    Last Post: 10-06-2011, 08:37 AM
  3. Replies: 7
    Last Post: 07-21-2011, 01:01 PM
  4. Append query won't append
    By yelkenli in forum Queries
    Replies: 5
    Last Post: 02-12-2010, 11:19 AM
  5. Append Query
    By aabh in forum Queries
    Replies: 6
    Last Post: 02-02-2010, 04:26 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