zaskodnik said:
No, it says for example "April 2004". Not only "April" I made a summary
query.... by months.
I also added one column with exact date... just for sorting. But when I
used it for sorting (but not visible) in my report, it wrote "April
2004" every couple of lines... not only once.
OK. "April 2004" is a valid date in a string (Access will
assume the first of the month). This means you can
group on the expression
=CDate([month of shipment])
Also, sort on the field [date of shipment] to get the
details in the exact order of shipment.
I don't know what kind of UI you're using to get this
information from the users, but the [month of shipment]
field is redundant and should be eliminated to prevent users
from making a mistake by entering inconsistent dates. If
you only have the [date of shipment] field, then you can
group on the expression
=DateSerial(Year([date of shipment],Month([date of
shipment],1)