igendreau
06-15-2009, 01:39 PM
I have a database, which has a linked table to an Oracle database.
Then I have a query that does some basic summarizing, so that I can create a few reports off of that query.
The problem is it takes FOREVER... Someone recommended that I "use a SQL expression to create my record source because it lets the database do the work before returning the records, as opposed to a query which brings the data down and then filters through it one by one"...
True? And if so, can someone give me the basics on how to do that? I'm familiar with writing a SELECT statement to bring down records, but I'm always doing it in a form as part of a function. Whenever I write reports I always have a query or a table as my source. No idea how to have an SQL expression as the source.
Thanks for the help!
Then I have a query that does some basic summarizing, so that I can create a few reports off of that query.
The problem is it takes FOREVER... Someone recommended that I "use a SQL expression to create my record source because it lets the database do the work before returning the records, as opposed to a query which brings the data down and then filters through it one by one"...
True? And if so, can someone give me the basics on how to do that? I'm familiar with writing a SELECT statement to bring down records, but I'm always doing it in a form as part of a function. Whenever I write reports I always have a query or a table as my source. No idea how to have an SQL expression as the source.
Thanks for the help!