How do i allow users to change the top value number in a query without going
into the design mode?
There really isn't any very easy way that I've found; you can't pass
it as a parameter. Your best bet may be to have VBA code to actually
construct the SQL of the query, pulling the Top Values property from a
form control (along with any other parameters).
John W. Vinson[MVP]