CountOfProgressItemDescriptionProgress Date S4 Expr1 33 2/9/2019 Date 4 2/14/2019 Date 3 2/15/2019 Date 26 2/21/2019 Date 7 2/27/2019 Date 31 3/6/2019 Date 9 3/13/2019 Date 19 3/28/2019 Date
Hello. The above table is the output of a query that I am trying to put together for a project. Because the datasource table provides the Progress date field as a string, I have tried using both CDate and CVDate to convert the output of the query to a date. Both successfully convert the datatype to date (Expr1 is TypeName(Progress Date S4)). The dates work as intended when I sort by ascending or descending. When I try to apply any criteria however, I get an "Invalid use of Null" error. None of the values in the source data are Null, nor is the source query to the query that creates this table (the source query is just the count and CDate/CVDate values). This query is just select * and Expr1.
I am very confused why I keep getting a Null error when trying to run any type of criteria on this query output? I really appreciate any help.