Expression in Sort/Group

G

Guest

I used the expression in the sort/group field:

=Instr(Left([MonthAcquired],3,"JanFebMarAprMayJunJulAugSepOctNovDec")

However, all of my data is grouped under one month (November). How do i get
my months to group data via month acquired as they did b4 i used this
expression, but in calendar order (Jan - Dec).

In my table, the field [monthacquired] is text for a drop down list.
 
D

Duane Hookom

Good catch John. I think I had posted the wrong expression a while back.


--
Duane Hookom
MS Access MVP

John Spencer said:
=Instr(1,"JanFebMarAprMayJunJulAugSepOctNovDec",Left(MonthAcquired],3),3)



VR said:
I used the expression in the sort/group field:

=Instr(Left([MonthAcquired],3,"JanFebMarAprMayJunJulAugSepOctNovDec")

However, all of my data is grouped under one month (November). How do i
get
my months to group data via month acquired as they did b4 i used this
expression, but in calendar order (Jan - Dec).

In my table, the field [monthacquired] is text for a drop down list.
 
G

Guest

Thank you.

John Spencer said:
=Instr(1,"JanFebMarAprMayJunJulAugSepOctNovDec",Left(MonthAcquired],3),3)



VR said:
I used the expression in the sort/group field:

=Instr(Left([MonthAcquired],3,"JanFebMarAprMayJunJulAugSepOctNovDec")

However, all of my data is grouped under one month (November). How do i
get
my months to group data via month acquired as they did b4 i used this
expression, but in calendar order (Jan - Dec).

In my table, the field [monthacquired] is text for a drop down list.
 

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