Expression is too complex to be evaluated/data type mismatch

G

Guest

Hi,
This query always ran perfectly. Out of the blue, it I started getting this
error...it is on the query field RptDate: ([DateStart]). I retyped it and
now I get data in the query, but the report doesn't want to work anymore. Has
anyone ever seen this before? Thanks! So frustrating... I even recopied from
a back up, the reports and queries it's the same thing. I even tried to look
at data in the tables and I couldn't see anything.
 
K

Ken Snell \(MVP\)

With dates, that error message often is caused by an improper date format
when being entered by hand (query parameter prompt) or incorrect date value
("negative" date value) in the data. I'd take a good look at your table's
data if the date values are stored there and verify that all date data are
valid.
 
G

Guest

I checked the dates, they seem to be fine... it's date/time format. Any other
suggestions?

Ken Snell (MVP) said:
With dates, that error message often is caused by an improper date format
when being entered by hand (query parameter prompt) or incorrect date value
("negative" date value) in the data. I'd take a good look at your table's
data if the date values are stored there and verify that all date data are
valid.
--

Ken Snell
<MS ACCESS MVP>



Anna said:
Hi,
This query always ran perfectly. Out of the blue, it I started getting
this
error...it is on the query field RptDate: ([DateStart]). I retyped it
and
now I get data in the query, but the report doesn't want to work anymore.
Has
anyone ever seen this before? Thanks! So frustrating... I even recopied
from
a back up, the reports and queries it's the same thing. I even tried to
look
at data in the tables and I couldn't see anything.
 
K

Ken Snell \(MVP\)

You'll need to give us more details about the query and the report. Let's
start with the SQL statement of the query.

--

Ken Snell
<MS ACCESS MVP>

Anna said:
I checked the dates, they seem to be fine... it's date/time format. Any
other
suggestions?

Ken Snell (MVP) said:
With dates, that error message often is caused by an improper date format
when being entered by hand (query parameter prompt) or incorrect date
value
("negative" date value) in the data. I'd take a good look at your table's
data if the date values are stored there and verify that all date data
are
valid.
--

Ken Snell
<MS ACCESS MVP>



Anna said:
Hi,
This query always ran perfectly. Out of the blue, it I started getting
this
error...it is on the query field RptDate: ([DateStart]). I retyped
it
and
now I get data in the query, but the report doesn't want to work
anymore.
Has
anyone ever seen this before? Thanks! So frustrating... I even recopied
from
a back up, the reports and queries it's the same thing. I even tried to
look
at data in the tables and I couldn't see anything.
 
G

Guest

Ken,
I got it! thanks!

Ken Snell (MVP) said:
You'll need to give us more details about the query and the report. Let's
start with the SQL statement of the query.

--

Ken Snell
<MS ACCESS MVP>

Anna said:
I checked the dates, they seem to be fine... it's date/time format. Any
other
suggestions?

Ken Snell (MVP) said:
With dates, that error message often is caused by an improper date format
when being entered by hand (query parameter prompt) or incorrect date
value
("negative" date value) in the data. I'd take a good look at your table's
data if the date values are stored there and verify that all date data
are
valid.
--

Ken Snell
<MS ACCESS MVP>



Hi,
This query always ran perfectly. Out of the blue, it I started getting
this
error...it is on the query field RptDate: ([DateStart]). I retyped
it
and
now I get data in the query, but the report doesn't want to work
anymore.
Has
anyone ever seen this before? Thanks! So frustrating... I even recopied
from
a back up, the reports and queries it's the same thing. I even tried to
look
at data in the tables and I couldn't see anything.
 

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