Thread: Date Format
View Single Post
  #2  
Old March 11th, 2010, 04:05 PM posted to microsoft.public.access.tablesdbdesign
Jeff Boyce
external usenet poster
 
Posts: 8,621
Default Date Format

You can create a custom display format for date that looks like "MMM-YYYY"
.... but if your underlying data is a date/time field, you will still be
storing a date/time value.

Mar-2010 is not a date.

If you are trying to create a query that requires selection criteria in that
format, why? Is there a reason not to just search for a date in March,
2010?

And how are you looking to collect that selection criterion for your query?

Regards

Jeff Boyce
Microsoft Access MVP

--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.

Any code or pseudocode included in this post is offered "as is", with no
guarantee as to suitability.

You can thank the FTC of the USA for making this disclaimer
possible/necessary.

"WSR" wrote in message
...
I'd like to create my own Date / Time format. The Excel Equivalent is
MMM-YYYY (Mar-2010).

How can I change/create a new date format that will be displayed MMM-YYYY?

I want to be able to query this table and run criteria based on the date.

Thanks.

(B^)-]=[