- Local time
- Tomorrow, 05:09
- Joined
- Jan 20, 2009
- Messages
- 12,832
If Nulls are the problem change the Record Source query of the report to include:
Is Not Null on the date field.
Now there is a thought. We have been talking about the table. Perhaps the Record Source query of the report is really the problem. This would explain why your other query works but not the report. I think you may have unwittingly changed a field format in that query.
Otherwise I think you need to find the problem entries in the table and fix them. (If that is really the problem.)
First thing I would try is to open the table and order by the date field.
Hopefully the odd ones would either go to the start or the end.
Then try running a query with IsError(datefieldname) as the where clause.
Cut down the table to see if the clause will run on even one record. If it does then try adding sections of the records until it breaks.
Is Not Null on the date field.
Now there is a thought. We have been talking about the table. Perhaps the Record Source query of the report is really the problem. This would explain why your other query works but not the report. I think you may have unwittingly changed a field format in that query.
Otherwise I think you need to find the problem entries in the table and fix them. (If that is really the problem.)
First thing I would try is to open the table and order by the date field.
Hopefully the odd ones would either go to the start or the end.
Then try running a query with IsError(datefieldname) as the where clause.
Cut down the table to see if the clause will run on even one record. If it does then try adding sections of the records until it breaks.