Sort Week day

P

Pietro

Hi,
I have a field "Received" in a query formatted General date,i added
another field to extract the week day using the formula
Day:format([received],"ddd") now i want to sort the field day ascendingly in
a week that starts from Sun,i tried to sort it but actually it's sorted
alphapetically,can aybody help?
 
A

Arvin Meyer [MVP]

Use the Weekday() function, which returns the day numbers, as in:

Weekday([Datefield])
 
K

Krzysztof Pozorek [MVP]

(...)
I have a field "Received" in a query formatted General date,i added
another field to extract the week day using the formula
Day:format([received],"ddd") now i want to sort the field day ascendingly
in
a week that starts from Sun,i tried to sort it but actually it's sorted
alphapetically,can aybody help?

Add calculated field
WeekDay([received],1)
and sort by this expression.

K.P. Poland
www.access.vis.pl
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top