Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics SL (Archived)

Quick Query Paging/Max Rows

Posted on by Microsoft Employee

I want my users to be able to use the Quick Query Viewer for project transactions, however I get 500,000 lines of results when I open the screen. I'd like to knock this down to around 10,000. According to the SL manual you can manipulate the maximum row count by adding this statement to the .ini file. 

[QuickQuery]
Paging=Yes
MaxSQLRows=10000

I have tried updating my own .ini, to no avail. Is there a step I'm missing?

I'm on SL15 SP1.

Thanks in advance.

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Quick Query Paging/Max Rows

    Thank Bruce,

    I changed the Paging to No in my .ini file and got the desired results.

    [QuickQuery]

    Paging=No

    MaxSQLRows=10000

  • Verified answer
    Bruce.T Profile Picture
    Bruce.T 405 on at
    RE: Quick Query Paging/Max Rows

    Hi Jake,

    The documentation I have (SL2015 CU2) says:

    • MaxSQLRows controls the number of rows per page when Paging is disabled - the default is 5000.
    • MaxTotalRows controls the rows returned when paging is enabled - as highlighted there is a discrepancy on whether the default is 500000 or 5000 - testing indicates that the default is 500000.

    MaxTotalRows1.PNG

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans