Thanks Tom


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Oakes
Sent: Sunday, September 11, 2005 11:04 PM
To: [email protected]
Subject: RE: [AccessDevelopers] sorting on Date of week

I think you'll need to do it via a query.  I don't think Access tables will let you use VBA functions in index specs, however, I've never tried.
DatePart("w", Date()) gives you the numeric weekday (by default, 1=Sunday).  You can specify the week-starting day.
 

Tom Oakes
Personal PC Consultants, Inc.
[EMAIL PROTECTED]
503.230.0911 (O)
402.968.6946 (C)
734.264.0911 (F)




From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Pat Mapes
Sent: Sunday, September 11, 2005 1:31 PM
To: [email protected]
Subject: [AccessDevelopers] sorting on Date of week

I have a date field in a table.  I want to sort by the day of the week, but I'm having trouble converting the date to text.
 
I would prefer to do it in code, but I'm not opposed to another solution.
 
Thanks for the help.
 
Patty



Please zip all files prior to uploading to Files section.




SPONSORED LINKS
Microsoft access developer Microsoft access help Microsoft access database
Microsoft access training Microsoft access training course Microsoft access programming


YAHOO! GROUPS LINKS




Reply via email to