Results 1 to 2 of 2
  1. #1
    behnam is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2014
    Posts
    72

    how to write criteria for date field being on friday in query wizard.


    I have a date field called DateOfAppointment. How can i write the criteria in the query wizard to show all the records that have a appointment on friday, thanks.

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,441
    datepart("w", [DateofAppointment])

    criteria of the field = 6

    (sunday = 1, saturday = 7)

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

Similar Threads

  1. Replies: 2
    Last Post: 06-09-2014, 11:23 AM
  2. Field to display last Friday's date by default
    By lsmcal1984 in forum Forms
    Replies: 11
    Last Post: 10-07-2013, 12:05 PM
  3. Replies: 9
    Last Post: 04-26-2013, 12:12 PM
  4. How To Parse and Re Write A Date Field
    By abrogard in forum Access
    Replies: 2
    Last Post: 07-08-2012, 07:19 PM
  5. Help Write Unmatched Query (wizard not working)
    By taimysho0 in forum Queries
    Replies: 1
    Last Post: 05-14-2012, 12:49 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