>>>Is this possible? I am working on setting up paging on a form and I don't want to duplicate the joins and filters in a second query that just returns the count. I've seen an example of creating a temp table and inserting the results of a stored procedure into that table but I wanted to see if there was an easier way.
>>
>>You can use a table variable instead of temp table.
>
>Can you show an example?
My mistake, it doesn't work with table variables.
--sb--