well I'm not sure why you need to store the results in a tmp table,
but anyway, yes, you can do it all in one click.
Search form page: user enters data, hits "submit" or whatever.
This takes the user to the new page.
The new page can process things before outputting... (otherwise, what's the point).
You can store the results in a tmp database, do other stuff, look up the stuff in your tmp, and then spit it out anyway you want.
maybe I misunderstood or something, but there's no reason you can't do it all in the same page.