Question : Format Date

I have data in a Shipped_Date column as shown below:

Shipped_Date
------------------------
4/4/2002
7/26/2002
10/23/2002
8/2/2002

And I am using this in design mode:
=Format([shipped_date],"mm yyyy")

It does not work and I need the date to show only the month and the year like this: 12/2002

If I use this: =Format([shipped_date],"yyyy")
I get a "Data type mismatch in criteria expression."

What am I missing or doing wrong?

Thanks to all who participate.

Answer : Format Date

OK ... other than the Join you have - this example

SELECT Table2.Part_Number, Year([Shipped_Date]) AS ShipYear, Format(Month([Shipped_Date]),"00") AS ShipMth, Count(Table2.Part_Number) AS PartCount
FROM Table2
WHERE (((Table2.Shipped_Date) Is Not Null))
GROUP BY Table2.Part_Number, Year([Shipped_Date]), Format(Month([Shipped_Date]),"00");

returns this:

Part_Number      ShipYear      ShipMth      PartCount
100                       2008               05           2
100                       2008               06           1
100                       2008               07           1
100                       2008              08           2
300                      2008              07           1
Random Solutions  
 
programming4us programming4us