Language: Visual Basic
Aug 6, 1997
Debugging Using the Query TopValues Property
I speed up the debugging of applications with queries that return large record sets by using Access 95 to temporarily set the TopValues within the query stored in the MDB. VB4 cannot get at the TopValues property of a stored query. This method allows the query to run in context without any artificial tests in VB to reduce its output.
Open the MDB with Access 95. Select the Queries tab. Highlight the query. Click on Design, then right-click. Select Properties and click again. Change the TopValues property and save the query design. To reverse the change, set TopValues to All.