I've been using Crystal Reports for a while now and some of my reports, as far as I have been able, have been reduced to run as fast as possible. They are, sometimes, still too slow.
I have since heard that SQL Expressions can reduce the time a report takes to run. With that in mind I would like to run a test report that selects a date range as specified by two parameters ({?Startdate} and {?Enddate}) by using SQL Expressions.
I've never used SQL (other than in Access) so I don't really know how to structure a SQL Expression in Crystal Reports. I've tried Googling about and can't find any basic examples of doing a date range in this way.
Assuming the date field, from tblExample, is called TestDate, can anyone offer a simple, step by step, example of creating a SQL expression that selects all records based on the dates entered in the aforementioned parameters?
Stewart J. McAbney | Talk History
I have since heard that SQL Expressions can reduce the time a report takes to run. With that in mind I would like to run a test report that selects a date range as specified by two parameters ({?Startdate} and {?Enddate}) by using SQL Expressions.
I've never used SQL (other than in Access) so I don't really know how to structure a SQL Expression in Crystal Reports. I've tried Googling about and can't find any basic examples of doing a date range in this way.
Assuming the date field, from tblExample, is called TestDate, can anyone offer a simple, step by step, example of creating a SQL expression that selects all records based on the dates entered in the aforementioned parameters?
Stewart J. McAbney | Talk History