Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date Format Column Causing "Data Mismatch" Error

Status
Not open for further replies.

shelby55

Technical User
Jun 27, 2003
1,229
CA
Hi

I'm using Access 2010. I have a table of data and I want to group on discharge month. I require the month to be a month for sorting reasons later.

The formula is: MonthEnd: DateSerial(Year([DisDate]),Month([DisDate]),1)

This works great but when I try to group my query, this columns is producing the error of "data type mismatch in criteria expression". This works in Access 2003 so why wouldn't it work in 2010?

Thanks.
 
What is the SQL code of your query, and which criteria expression raises the error ?

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top