Feeding a top records query

M

marcusjb

Apparently this is a tough one because I've posted it in two other
forums with no answer.

I want to be able to let the user enter the quantity in a form that
will return the top records in a query rather than have a static number
set to the query.

I realize that this will need to be done in code, but I don't know how
and no one else's attempts at explaining it have worked.

Thanks in advance!!!!
 
Top