Hi Everyone:
I have an expression in a query which displays a date, but when I use the query to run a report, the date is not recognized as such. I want to run the report for a specific month or year, but the query will not sort by date. I tried CDate to convert the text to a date, but then when I use a range for the report, access says it is too complicated. Here are the two expressions:
Estimated_Release: Format(IIf(([ReleaseDate])="",[Arrival_Date],[ReleaseDate]),"mmm-dd-yy",0,0)
ReleaseDate: Format(([Euthanized_Date] & " " & [Adoption_Date] & " " & [Date_Released] & " " & [Departure_Date]),"mmm-dd-yy",0,0)
Any suggestions?
Thanks, Sophia
I have an expression in a query which displays a date, but when I use the query to run a report, the date is not recognized as such. I want to run the report for a specific month or year, but the query will not sort by date. I tried CDate to convert the text to a date, but then when I use a range for the report, access says it is too complicated. Here are the two expressions:
Estimated_Release: Format(IIf(([ReleaseDate])="",[Arrival_Date],[ReleaseDate]),"mmm-dd-yy",0,0)
ReleaseDate: Format(([Euthanized_Date] & " " & [Adoption_Date] & " " & [Date_Released] & " " & [Departure_Date]),"mmm-dd-yy",0,0)
Any suggestions?
Thanks, Sophia