I am reporting against a database that stores date times as the number of seconds since 1/1/1970.
I can create a formula to convert a datetime in crystal into seconds since that date - no problem.
However, when I use the conversion formula in the selection formula to narrow down the selection, Crystal retrieves all rows before applying a filter. with 100,000+ rows in the result set, this is impractical.
(e.g.) {Start Date} IN {@StartFormula} TO {@EndFormula}
Does anyone know of a way that I can make the conversion formula evaluate before retrival. (Using BeforeReadingRecords does not seem to work)
Thanks
I can create a formula to convert a datetime in crystal into seconds since that date - no problem.
However, when I use the conversion formula in the selection formula to narrow down the selection, Crystal retrieves all rows before applying a filter. with 100,000+ rows in the result set, this is impractical.
(e.g.) {Start Date} IN {@StartFormula} TO {@EndFormula}
Does anyone know of a way that I can make the conversion formula evaluate before retrival. (Using BeforeReadingRecords does not seem to work)
Thanks