Technology Software

How to Display the Day of the Week in a Query in Access

Instructions

1

Click "Queries" in the "Objects" list on the left side. Click "New" and "Design View." Click "Close" > "View" > "SQL View." Queries like this with complex formulas work better if you type into the SQL window instead of running a "Wizard."
2

Type a query in the following format to display a date field in the native format.

Select fieldname from tablename.

Substitute fieldname for any field containing a date in the database and tablename for the table that contains the field. Click the red exclamation point in the toolbar to run this query. This should show a column of dates in whatever format you defined for that field.
3

Change the query to incorporate the format function with the following syntax.

Select format(fieldname, "dddd") from tablename.

Again substitute the actual field and table names. The "dddd" should be entered exactly as shown, including the quotes.
4

Click the red exclamation in the toolbar to run this version of the query to display the day of the week.

Related posts "Technology : Software"

Best Tips For Perfect Presentation

Software

Enterprise Security - Are You Ready For 2012?

Software

Magento Shopping Cart Extension Makes Shopping Manageable

Software

How to Convert VB6 to VB 2010

Software

How to Set Up Shortcut Keys in Microsoft Word

Software

Outsource CAD services – A Modern Way to Save Time and Money

Software

Best Places to Find Iron in "World of Warcraft"

Software

How to Print a PDF Drawing in SolidWorks With No Dashed Lines

Software

Open Source Web Development Cms PlatformA Wide Choice For Various Businesses

Software

Leave a Comment