my report is generating data that is supposed to be sorted by date and is within a specified date range:
SELECT *
FROM [lab occurrence form]
WHERE ((([lab occurrence form].[occurrence date]) Between [Forms]![Form1]![Text2] And [Forms]![Form1]![Text4]))
ORDER BY [lab occurrence form].[occurrence date] DESC;
i have two textboxes which contain the range of dates: text2 and text4
the report is displaying the data correctly, but it is not sorting it by date
how can i make sure that it will sort it by date?
i did a datasheet view on the query and it works fine, but when i run the report it does not sort it for some reason by date